From 0bc84cdca8d155979ef59a0aff91dca983f9348b Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 14 Aug 2024 21:37:26 -0700 Subject: [PATCH 01/10] Prefer own references over indirect references when searching for resolved references --- src/compiler/program.ts | 104 +++++++++------ src/server/editorServices.ts | 47 ++++--- .../getFileReferences_server2.js | 124 +++++++++--------- 3 files changed, 158 insertions(+), 117 deletions(-) diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 7367f5e6a9ddf..f8b94ca2626c0 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1139,7 +1139,11 @@ export function forEachResolvedProjectReference( resolvedProjectReferences: readonly (ResolvedProjectReference | undefined)[] | undefined, cb: (resolvedProjectReference: ResolvedProjectReference, parent: ResolvedProjectReference | undefined) => T | undefined, ): T | undefined { - return forEachProjectReference(/*projectReferences*/ undefined, resolvedProjectReferences, (resolvedRef, parent) => resolvedRef && cb(resolvedRef, parent)); + return forEachProjectReference( + /*projectReferences*/ undefined, + resolvedProjectReferences, + (resolvedRef, parent) => resolvedRef && cb(resolvedRef, parent), + ); } function forEachProjectReference( @@ -1149,7 +1153,6 @@ function forEachProjectReference( cbRef?: (projectReferences: readonly ProjectReference[] | undefined, parent: ResolvedProjectReference | undefined) => T | undefined, ): T | undefined { let seenResolvedRefs: Set | undefined; - return worker(projectReferences, resolvedProjectReferences, /*parent*/ undefined); function worker( @@ -1162,19 +1165,26 @@ function forEachProjectReference( const result = cbRef(projectReferences, parent); if (result) return result; } - - return forEach(resolvedProjectReferences, (resolvedRef, index) => { - if (resolvedRef && seenResolvedRefs?.has(resolvedRef.sourceFile.path)) { - // ignore recursives - return undefined; - } - - const result = cbResolvedRef(resolvedRef, parent, index); - if (result || !resolvedRef) return result; - - (seenResolvedRefs ||= new Set()).add(resolvedRef.sourceFile.path); - return worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef); - }); + let skipChildren: Set | undefined; + return forEach( + resolvedProjectReferences, + (resolvedRef, index) => { + if (resolvedRef && seenResolvedRefs?.has(resolvedRef.sourceFile.path)) { + (skipChildren ??= new Set()).add(resolvedRef); + // ignore recursives + return undefined; + } + const result = cbResolvedRef(resolvedRef, parent, index); + if (result || !resolvedRef) return result; + (seenResolvedRefs ||= new Set()).add(resolvedRef.sourceFile.path); + }, + ) || forEach( + resolvedProjectReferences, + resolvedRef => + resolvedRef && !skipChildren?.has(resolvedRef) ? + worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef) : + undefined, + ); } } @@ -1356,7 +1366,14 @@ export function isProgramUptoDate( (seenResolvedRefs || (seenResolvedRefs = [])).push(oldResolvedRef); // If child project references are upto date, this project reference is uptodate - return !forEach(oldResolvedRef.references, (childResolvedRef, index) => !resolvedProjectReferenceUptoDate(childResolvedRef, oldResolvedRef.commandLine.projectReferences![index])); + return !forEach( + oldResolvedRef.references, + (childResolvedRef, index) => + !resolvedProjectReferenceUptoDate( + childResolvedRef, + oldResolvedRef.commandLine.projectReferences![index], + ), + ); } // In old program, not able to resolve project reference path, @@ -4894,7 +4911,14 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg case FileIncludeKind.SourceFromProjectReference: case FileIncludeKind.OutputFromProjectReference: const referencedResolvedRef = Debug.checkDefined(resolvedProjectReferences?.[reason.index]); - const referenceInfo = forEachProjectReference(projectReferences, resolvedProjectReferences, (resolvedRef, parent, index) => resolvedRef === referencedResolvedRef ? { sourceFile: parent?.sourceFile || options.configFile!, index } : undefined); + const referenceInfo = forEachProjectReference( + projectReferences, + resolvedProjectReferences, + (resolvedRef, parent, index) => + resolvedRef === referencedResolvedRef ? + { sourceFile: parent?.sourceFile || options.configFile!, index } : + undefined, + ); if (!referenceInfo) return undefined; const { sourceFile, index } = referenceInfo; const referencesSyntax = forEachTsConfigPropArray(sourceFile as TsConfigSourceFile, "references", property => isArrayLiteralExpression(property.initializer) ? property.initializer : undefined); @@ -4934,28 +4958,32 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg function verifyProjectReferences() { const buildInfoPath = !options.suppressOutputPathCheck ? getTsBuildInfoEmitOutputFilePath(options) : undefined; - forEachProjectReference(projectReferences, resolvedProjectReferences, (resolvedRef, parent, index) => { - const ref = (parent ? parent.commandLine.projectReferences : projectReferences)![index]; - const parentFile = parent && parent.sourceFile as JsonSourceFile; - verifyDeprecatedProjectReference(ref, parentFile, index); - if (!resolvedRef) { - createDiagnosticForReference(parentFile, index, Diagnostics.File_0_not_found, ref.path); - return; - } - const options = resolvedRef.commandLine.options; - if (!options.composite || options.noEmit) { - // ok to not have composite if the current program is container only - const inputs = parent ? parent.commandLine.fileNames : rootNames; - if (inputs.length) { - if (!options.composite) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true, ref.path); - if (options.noEmit) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_may_not_disable_emit, ref.path); + forEachProjectReference( + projectReferences, + resolvedProjectReferences, + (resolvedRef, parent, index) => { + const ref = (parent ? parent.commandLine.projectReferences : projectReferences)![index]; + const parentFile = parent && parent.sourceFile as JsonSourceFile; + verifyDeprecatedProjectReference(ref, parentFile, index); + if (!resolvedRef) { + createDiagnosticForReference(parentFile, index, Diagnostics.File_0_not_found, ref.path); + return; } - } - if (!parent && buildInfoPath && buildInfoPath === getTsBuildInfoEmitOutputFilePath(options)) { - createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1, buildInfoPath, ref.path); - hasEmitBlockingDiagnostics.set(toPath(buildInfoPath), true); - } - }); + const options = resolvedRef.commandLine.options; + if (!options.composite || options.noEmit) { + // ok to not have composite if the current program is container only + const inputs = parent ? parent.commandLine.fileNames : rootNames; + if (inputs.length) { + if (!options.composite) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true, ref.path); + if (options.noEmit) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_may_not_disable_emit, ref.path); + } + } + if (!parent && buildInfoPath && buildInfoPath === getTsBuildInfoEmitOutputFilePath(options)) { + createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1, buildInfoPath, ref.path); + hasEmitBlockingDiagnostics.set(toPath(buildInfoPath), true); + } + }, + ); } function createDiagnosticForOptionPathKeyValue(key: string, valueIndex: number, message: DiagnosticMessage, ...args: DiagnosticArguments) { diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index 663eb94fcf3dd..073f8ea71271c 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -861,23 +861,36 @@ function forEachResolvedProjectReferenceProjectWorker( seenResolvedRefs?: Map, ): T | undefined { const loadKind = parentOptions.disableReferencedProjectLoad ? ConfiguredProjectLoadKind.Find : kind; - return forEach(resolvedProjectReferences, ref => { - if (!ref) return undefined; - - const configFileName = toNormalizedPath(ref.sourceFile.fileName); - const canonicalPath = projectService.toCanonicalFileName(configFileName); - const seenValue = seenResolvedRefs?.get(canonicalPath); - if (seenValue !== undefined && seenValue >= loadKind) { - return undefined; - } - const result = cb(ref, loadKind); - if (result) { - return result; - } - - (seenResolvedRefs || (seenResolvedRefs = new Map())).set(canonicalPath, loadKind); - return ref.references && forEachResolvedProjectReferenceProjectWorker(ref.references, ref.commandLine.options, cb, loadKind, projectService, seenResolvedRefs); - }); + let skipChildren: Set | undefined; + return forEach( + resolvedProjectReferences, + ref => { + if (!ref) return undefined; + const configFileName = toNormalizedPath(ref.sourceFile.fileName); + const canonicalPath = projectService.toCanonicalFileName(configFileName); + const seenValue = seenResolvedRefs?.get(canonicalPath); + if (seenValue !== undefined && seenValue >= loadKind) { + (skipChildren ??= new Set()).add(ref); + return undefined; + } + const result = cb(ref, loadKind); + if (result) return result; + (seenResolvedRefs ??= new Map()).set(canonicalPath, loadKind); + }, + ) || forEach( + resolvedProjectReferences, + ref => + ref?.references && !skipChildren?.has(ref) ? + forEachResolvedProjectReferenceProjectWorker( + ref.references, + ref.commandLine.options, + cb, + loadKind, + projectService, + seenResolvedRefs, + ) : + undefined, + ); } function forEachPotentialProjectReference( diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index abcfcb28aa62f..7aafbdee5ea96 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -253,41 +253,43 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/shared/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/shared +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/client/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/client Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingStart", "body": { - "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json", + "projectName": "/home/src/workspaces/project/packages/client/tsconfig.json", "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/index.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/client/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/client/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/client/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/packages/shared/src/referenced.ts Text-1 "export {};" + /home/src/workspaces/project/packages/client/index.ts Text-1 "import \"@shared/referenced\";" ../../../../tslibs/TS/Lib/lib.d.ts @@ -296,7 +298,9 @@ Info seq [hh:mm:ss:mss] Files (4) Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - src/referenced.ts + ../shared/src/referenced.ts + Imported via "@shared/referenced" from file 'index.ts' + index.ts Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -306,7 +310,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "projectLoadingFinish", "body": { - "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json" + "projectName": "/home/src/workspaces/project/packages/client/tsconfig.json" } } Info seq [hh:mm:ss:mss] event: @@ -316,47 +320,45 @@ Info seq [hh:mm:ss:mss] event: "event": "configFileDiag", "body": { "triggerFile": "/home/src/workspaces/project/tsconfig.json", - "configFile": "/home/src/workspaces/project/packages/shared/tsconfig.json", + "configFile": "/home/src/workspaces/project/packages/client/tsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/client/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/client +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/shared/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/shared Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingStart", "body": { - "projectName": "/home/src/workspaces/project/packages/client/tsconfig.json", + "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json", "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/client/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/client/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/client/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/packages/shared/src/referenced.ts Text-1 "export {};" - /home/src/workspaces/project/packages/client/index.ts Text-1 "import \"@shared/referenced\";" ../../../../tslibs/TS/Lib/lib.d.ts @@ -365,9 +367,7 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - ../shared/src/referenced.ts - Imported via "@shared/referenced" from file 'index.ts' - index.ts + src/referenced.ts Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -377,7 +377,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "projectLoadingFinish", "body": { - "projectName": "/home/src/workspaces/project/packages/client/tsconfig.json" + "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json" } } Info seq [hh:mm:ss:mss] event: @@ -387,7 +387,7 @@ Info seq [hh:mm:ss:mss] event: "event": "configFileDiag", "body": { "triggerFile": "/home/src/workspaces/project/tsconfig.json", - "configFile": "/home/src/workspaces/project/packages/client/tsconfig.json", + "configFile": "/home/src/workspaces/project/packages/shared/tsconfig.json", "diagnostics": [] } } @@ -428,14 +428,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/client/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/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 (4) @@ -560,22 +560,22 @@ ScriptInfos:: version: Text-1 containingProjects: 4 /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json /home/src/workspaces/project/packages/client/tsconfig.json + /home/src/workspaces/project/packages/shared/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 containingProjects: 4 /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json /home/src/workspaces/project/packages/client/tsconfig.json + /home/src/workspaces/project/packages/shared/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 containingProjects: 4 /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json /home/src/workspaces/project/packages/client/tsconfig.json + /home/src/workspaces/project/packages/shared/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/client/index.ts *new* version: Text-1 @@ -593,8 +593,8 @@ ScriptInfos:: version: Text-1 containingProjects: 3 /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json /home/src/workspaces/project/packages/client/tsconfig.json + /home/src/workspaces/project/packages/shared/tsconfig.json /home/src/workspaces/project/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 From 8ad73bd30e0f6eb632b34f8e2cc88856ffd9540a Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 15 Aug 2024 16:44:03 -0700 Subject: [PATCH 02/10] Make initialLoadPending as property instead of method --- src/server/editorServices.ts | 16 ++++++++-------- src/server/project.ts | 14 +++++++------- tests/baselines/reference/api/typescript.d.ts | 1 - 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index 073f8ea71271c..ba81a6972f91b 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -716,7 +716,7 @@ function forEachAncestorProject( while (true) { // Skip if project is not composite and we are only looking for solution if ( - !project.isInitialLoadPending() && + !project.initialLoadPending && ( !project.getCompilerOptions().composite || project.getCompilerOptions().disableSolutionSearching @@ -746,7 +746,7 @@ function forEachAncestorProject( // If this ancestor is new and was delay loaded, then set the project as potential project reference if ( - ancestor.project.isInitialLoadPending() && + ancestor.project.initialLoadPending && project.getCompilerOptions().composite ) { // Set a potential project reference @@ -909,7 +909,7 @@ function forEachAnyProjectReferenceKind( ): T | undefined { return project.getCurrentProgram() ? project.forEachResolvedProjectReference(cb) : - project.isInitialLoadPending() ? + project.initialLoadPending ? forEachPotentialProjectReference(project, cbPotentialProjectRef) : forEach(project.getProjectReferences(), cbProjectRef); } @@ -1978,7 +1978,7 @@ export class ProjectService { scheduledAnyProjectUpdate = true; if (projectCanonicalPath === canonicalConfigFilePath) { // Skip refresh if project is not yet loaded - if (project.isInitialLoadPending()) return; + if (project.initialLoadPending) return; project.pendingUpdateLevel = ProgramUpdateLevel.Full; project.pendingUpdateReason = loadReason; this.delayUpdateProjectGraph(project); @@ -2056,7 +2056,7 @@ export class ProjectService { // If this was not already updated, and its new project, schedule for update // Existing projects dont need to update if they were not using the changed config in any way - if (tryAddToSet(updatedProjects, projectForInfo) && projectForInfo.isInitialLoadPending()) { + if (tryAddToSet(updatedProjects, projectForInfo) && projectForInfo.initialLoadPending) { this.delayUpdateProjectGraph(projectForInfo); } }); @@ -3063,7 +3063,7 @@ export class ProjectService { * @internal */ reloadConfiguredProject(project: ConfiguredProject, reason: string) { - project.isInitialLoadPending = returnFalse; + project.initialLoadPending = false; project.pendingUpdateReason = undefined; project.pendingUpdateLevel = ProgramUpdateLevel.Update; @@ -3895,7 +3895,7 @@ export class ProjectService { const reason = `Reloading configured project in external project: ${externalProjectName}`; projects.forEach(project => { if (this.getHostPreferences().lazyConfiguredProjectsFromExternalProject) { - if (!project.isInitialLoadPending()) { + if (!project.initialLoadPending) { this.clearSemanticCache(project); project.pendingUpdateLevel = ProgramUpdateLevel.Full; project.pendingUpdateReason = reloadReason(reason); @@ -4358,7 +4358,7 @@ export class ProjectService { /** @internal */ loadAncestorProjectTree(forProjects?: ReadonlyCollection) { forProjects ??= new Set( - mapDefinedIterator(this.configuredProjects.entries(), ([key, project]) => !project.isInitialLoadPending() ? key : undefined), + mapDefinedIterator(this.configuredProjects.entries(), ([key, project]) => !project.initialLoadPending ? key : undefined), ); const seenProjects = new Set(); diff --git a/src/server/project.ts b/src/server/project.ts index bbd97689b17d5..c3ff0fbf4765a 100644 --- a/src/server/project.ts +++ b/src/server/project.ts @@ -109,7 +109,6 @@ import { ResolvedTypeReferenceDirectiveWithFailedLookupLocations, resolvePackageNameToPackageJson, returnFalse, - returnTrue, ScriptKind, some, sortAndDeduplicate, @@ -435,7 +434,8 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo protected projectErrors: Diagnostic[] | undefined; - protected isInitialLoadPending: () => boolean = returnFalse; + /** @internal */ + initialLoadPending = false; /** @internal */ dirty = false; @@ -1911,7 +1911,7 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo } private filesToStringWorker(writeProjectFileNames: boolean, writeFileExplaination: boolean, writeFileVersionAndText: boolean) { - if (this.isInitialLoadPending()) return "\tFiles (0) InitialLoadPending\n"; + if (this.initialLoadPending) return "\tFiles (0) InitialLoadPending\n"; if (!this.program) return "\tFiles (0) NoProgram\n"; const sourceFiles = this.program.getSourceFiles(); let strBuilder = `\tFiles (${sourceFiles.length})\n`; @@ -1991,7 +1991,7 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo : (files: Map) => arrayFrom(files.keys()); // Update the graph only if initial configured project load is not pending - if (!this.isInitialLoadPending()) { + if (!this.initialLoadPending) { updateProjectIfDirty(this); } @@ -2882,7 +2882,7 @@ export class ConfiguredProject extends Project { projectOptions?: ProjectOptions | true; /** @internal */ - override isInitialLoadPending: () => boolean = returnTrue; + override initialLoadPending = true; /** @internal */ sendLoadingProjectFinish = false; @@ -2972,7 +2972,7 @@ export class ConfiguredProject extends Project { override updateGraph(): boolean { if (this.deferredClose) return false; const isDirty = this.dirty; - this.isInitialLoadPending = returnFalse; + this.initialLoadPending = false; const updateLevel = this.pendingUpdateLevel; this.pendingUpdateLevel = ProgramUpdateLevel.Update; let result: boolean; @@ -3032,7 +3032,7 @@ export class ConfiguredProject extends Project { /** @internal */ setPotentialProjectReference(canonicalConfigPath: NormalizedPath) { - Debug.assert(this.isInitialLoadPending()); + Debug.assert(this.initialLoadPending); (this.potentialProjectReferences || (this.potentialProjectReferences = new Set())).add(canonicalConfigPath); } diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index c8589f0b8ae9f..5c1754ad1bbd7 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -2827,7 +2827,6 @@ declare namespace ts { private lastReportedFileNames; private lastReportedVersion; protected projectErrors: Diagnostic[] | undefined; - protected isInitialLoadPending: () => boolean; private typingsCache; private typingWatchers; private readonly cancellationToken; From 0228b37e9f66059346f7116873aab25a7aae4ecd Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 15 Aug 2024 16:47:47 -0700 Subject: [PATCH 03/10] Print initial load pending for project state changes --- src/harness/projectServiceStateLogger.ts | 3 +++ ...rs-upon-opening-projects-for-find-all-references.js | 2 ++ .../tsconfig-for-the-file-does-not-exist.js | 2 ++ ...emove-a-config-file-in-a-folder-with-loose-files.js | 2 ++ ...nfig-file-and-file-from-first-config-is-not-open.js | 5 +++++ ...a-config-file-when-parent-folder-has-config-file.js | 10 ++++++++++ ...nfig-file-and-file-from-first-config-is-not-open.js | 5 +++++ ...-remove-a-config-file-with-sibling-jsconfig-file.js | 10 ++++++++++ ...gured-project-if-it-is-referenced-from-root-file.js | 2 ++ ...ect-is-disabled-when-using-default-event-handler.js | 2 ++ ...rnalProject-is-disabled-when-using-event-handler.js | 2 ++ ...-file-is-opened-when-using-default-event-handler.js | 2 ++ ...true-and-file-is-opened-when-using-event-handler.js | 2 ++ ...g-with-lazyConfiguredProjectsFromExternalProject.js | 2 ++ ...1-with-lazyConfiguredProjectsFromExternalProject.js | 2 ++ ...2-with-lazyConfiguredProjectsFromExternalProject.js | 8 ++++++++ ...s-with-lazyConfiguredProjectsFromExternalProject.js | 4 ++++ ...onfiguredProjectsFromExternalProject-is-disabled.js | 2 ++ .../tsserver/fourslashServer/autoImportProvider3.js | 3 +++ .../isDefinitionAcrossGlobalProjects.js | 2 ++ .../isDefinitionAcrossModuleProjects.js | 2 ++ ...inferred-project-if-useOneInferredProject-is-set.js | 2 ++ ...de-duplicate-symbols-when-searching-all-projects.js | 2 ++ .../ancestor-and-project-ref-management.js | 3 +++ ...ilt-with-disableSourceOfProjectReferenceRedirect.js | 1 + .../auto-import-with-referenced-project-when-built.js | 1 + .../auto-import-with-referenced-project.js | 1 + ...can-successfully-find-references-with-out-option.js | 2 ++ .../sibling-projects.js | 2 ++ .../finding-references-in-overlapping-projects.js | 2 ++ ...om-referenced-project-and-using-declaration-maps.js | 2 ++ .../root-file-is-file-from-referenced-project.js | 2 ++ ...-arrow-function-as-object-literal-property-types.js | 2 ++ ...-using-arrow-function-as-object-literal-property.js | 2 ++ ...f-localness-when-using-arrow-function-assignment.js | 2 ++ ...-localness-when-using-method-of-class-expression.js | 2 ++ ...-of-localness-when-using-object-literal-property.js | 2 ++ ...onfig-not-composite-with-file-open-before-revert.js | 2 ++ ...lutionConfig-delete-with-file-open-before-revert.js | 2 ++ ...t-reference-to-demo-with-file-open-before-revert.js | 2 ++ ...e-is-from-referenced-project-and-shared-is-first.js | 5 +++++ .../when-root-file-is-from-referenced-project.js | 5 +++++ ...t-with-lazyConfiguredProjectsFromExternalProject.js | 1 + .../rename/with-symlinks-and-case-difference.js | 2 ++ 44 files changed, 123 insertions(+) diff --git a/src/harness/projectServiceStateLogger.ts b/src/harness/projectServiceStateLogger.ts index 42f64fde7f321..517f9476c70aa 100644 --- a/src/harness/projectServiceStateLogger.ts +++ b/src/harness/projectServiceStateLogger.ts @@ -31,6 +31,7 @@ interface ProjectData { projectStateVersion: Project["projectStateVersion"]; projectProgramVersion: Project["projectProgramVersion"]; dirty: Project["dirty"]; + initialLoadPending: Project["initialLoadPending"]; isClosed: ReturnType; isOrphan: ReturnType; noOpenRef: boolean; @@ -123,6 +124,7 @@ export function patchServiceForStateBaseline(service: ProjectService) { 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, "initialLoadPending", project.initialLoadPending, 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", noOpenRef(project), projectDiff, projectPropertyLogs); @@ -154,6 +156,7 @@ export function patchServiceForStateBaseline(service: ProjectService) { projectStateVersion: project.projectStateVersion, projectProgramVersion: project.projectProgramVersion, dirty: project.dirty, + initialLoadPending: project.initialLoadPending, isClosed: project.isClosed(), isOrphan: !isBackgroundProject(project) && project.isOrphan(), noOpenRef: noOpenRef(project), 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 8956d6b024d0b..64643df81fe36 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 @@ -285,6 +285,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -679,6 +680,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* originalConfiguredProjects: 3 *changed* /user/username/projects/project/packages/b/tsconfig.json *new* /user/username/projects/project/tsconfig.json *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 7dfd1e5b676af..dfee8dd333132 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 @@ -165,6 +165,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -351,6 +352,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* 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 8cb012cb1d623..d6bd8c87cc801 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 @@ -247,6 +247,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -420,6 +421,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js index 04a161ca601e6..e223f4a134bcb 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js @@ -278,6 +278,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -473,6 +474,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: @@ -1314,6 +1316,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -1393,6 +1396,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true noOpenRef: true *changed* ScriptInfos:: @@ -1565,6 +1569,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true isClosed: true *changed* noOpenRef: true diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js index d30077517c898..cb031250a86cb 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js @@ -243,6 +243,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -387,6 +388,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: @@ -1420,6 +1422,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -1588,6 +1591,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: @@ -2594,6 +2598,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -2697,6 +2702,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: @@ -3289,6 +3295,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -3392,6 +3399,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: @@ -4211,6 +4219,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -4314,6 +4323,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js index 3bdba9783bf10..16e9c3e2b38a1 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js @@ -275,6 +275,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -484,6 +485,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 @@ -1326,6 +1328,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1405,6 +1408,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true noOpenRef: true *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 @@ -1576,6 +1580,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true isClosed: true *changed* noOpenRef: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js index db3b8fc5832c7..2bb5473e28d97 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js @@ -240,6 +240,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -398,6 +399,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 @@ -1432,6 +1434,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1608,6 +1611,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 @@ -2615,6 +2619,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -2726,6 +2731,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 @@ -3319,6 +3325,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -3430,6 +3437,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 @@ -4250,6 +4258,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -4361,6 +4370,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 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 0315ff24a03f6..3bf86914b94e6 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 @@ -326,6 +326,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/a/c/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -563,6 +564,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: 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 93e9684a148ce..2d15c2c29afc7 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 @@ -89,6 +89,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Before request @@ -240,6 +241,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/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 7f3ef6477d9d0..01f5996437dd5 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 @@ -89,6 +89,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Before request @@ -237,6 +238,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/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 6490330f5d563..6aa733bb502a9 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 @@ -89,6 +89,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Before request @@ -243,6 +244,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: 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 dfc83e998e83e..2a8d1f4889c9f 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 @@ -89,6 +89,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Before request @@ -240,6 +241,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: 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 7111ac338f27b..64e076d0ee107 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 @@ -91,6 +91,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Before request @@ -285,6 +286,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 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 0919561bd094b..1c2e4d53f3f53 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 @@ -370,6 +370,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/projects/project/a/b/app.ts (Open) *changed* @@ -553,6 +554,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* isOrphan: true *changed* deferredClose: true *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 fd071ebe8ab42..a9162dff678f4 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 @@ -269,10 +269,12 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /home/src/projects/project/a/b/d/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /home/src/projects/project/a/b/proj1 (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 @@ -561,10 +563,12 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* /home/src/projects/project/a/b/d/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/projects/project/a/b/app.ts @@ -942,10 +946,12 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /home/src/projects/project/a/b/d/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /home/src/projects/project/a/b/proj1 (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 @@ -1156,10 +1162,12 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* /home/src/projects/project/a/b/d/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/projects/project/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 6adda1e2934a6..2eed6f0e7d45f 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 @@ -98,6 +98,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Before request @@ -139,6 +140,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true isOrphan: true *changed* deferredClose: true *changed* @@ -237,6 +239,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true isOrphan: true noOpenRef: true *changed* deferredClose: true @@ -454,6 +457,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true isClosed: true *changed* isOrphan: true noOpenRef: true 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 6d05e88b2d5a8..cf56b897418cb 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 @@ -89,6 +89,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Before request @@ -248,6 +249,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/projects/project/a/b/app.ts *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js index a6be85f0fc368..73996ee476eb4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js @@ -436,6 +436,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -503,6 +504,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -1003,3 +1005,4 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js index 23edf4bd8cd60..326fb16be90c3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js @@ -310,6 +310,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -542,6 +543,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* Info seq [hh:mm:ss:mss] request: { diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js index 564acdb71af88..6efb927e55381 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js @@ -367,6 +367,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -646,6 +647,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* Info seq [hh:mm:ss:mss] request: { 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 b28f44ae133dd..db29d91c5ec01 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 @@ -410,6 +410,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/a/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -638,6 +639,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: 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 89ca2c88dbfa3..e661de7be43ad 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 @@ -230,6 +230,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/projects/project/a/index.ts (Open) *new* @@ -538,6 +539,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/projects/project/a/index.ts (Open) *changed* 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 f7f572eb6ad73..99d3b23959c3a 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 @@ -420,6 +420,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -537,6 +538,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -1022,6 +1024,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/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 7ee34b8e179f3..dde82468c9faa 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 @@ -471,6 +471,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/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 0beb93d638bc7..b745e7f16834a 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 @@ -468,6 +468,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/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 1bd4ff94a990d..7af1455b744a6 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 @@ -311,6 +311,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/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 9fccee2eb7920..ba84ed3ed5248 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 @@ -417,6 +417,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -887,6 +888,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* 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 2e1061baddc4e..187303f5a09f9 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 @@ -260,6 +260,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -685,6 +686,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/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 22d7583c65e18..85a50e1c295b9 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 @@ -329,6 +329,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -1038,6 +1039,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* 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 62f9c29577d91..35282c91b7d43 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 @@ -480,6 +480,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -713,6 +714,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: 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 a3247ffb1a194..ea46fa2d7afec 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 @@ -480,6 +480,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -706,6 +707,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* autoImportProviderHost: false *changed* ScriptInfos:: 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 9d4a8e40fb6e1..b51346e0d0936 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 @@ -301,6 +301,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -774,6 +775,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/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 df3d3a5e9c40e..54a91b9b177bd 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 @@ -302,6 +302,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -525,6 +526,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/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 127e73355bbea..2bfd678f06652 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 @@ -301,6 +301,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -774,6 +775,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/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 9fc200dd963a8..2969eec73f270 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 @@ -303,6 +303,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -776,6 +777,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/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 fe49676132a3c..30016d1a1c2fd 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 @@ -301,6 +301,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -774,6 +775,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js index 670858f32141d..51ae899bbf70b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js @@ -835,6 +835,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1001,6 +1002,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* noOpenRef: true *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js index 40ff4068994fa..050a86f6eb22b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js @@ -751,6 +751,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -917,6 +918,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* noOpenRef: true *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js index 1d6b5ddcdb5d7..c104c1e3d9376 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js @@ -762,6 +762,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -928,6 +929,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* noOpenRef: true *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js index 297b49d52a085..780b8182999da 100644 --- a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -330,6 +330,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -383,6 +384,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -468,6 +470,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -527,6 +530,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -623,6 +627,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Before running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js index 012da0086dd52..e4e69a94b0410 100644 --- a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js @@ -330,6 +330,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -383,6 +384,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -468,6 +470,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -527,6 +530,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -623,6 +627,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Before running Timeout callback:: count: 0 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 f5349dc3f791b..09befbf9b9166 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 @@ -130,6 +130,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] Calling ensureInferredProjectsUpToDate_TestOnly Info seq [hh:mm:ss:mss] event: 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 3a4d1d4a67363..4b31248c152de 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 @@ -248,6 +248,7 @@ c:/temp/test/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: C:/home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -630,6 +631,7 @@ c:/temp/test/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: C:/home/src/tslibs/TS/Lib/lib.d.ts *changed* From c9376663d6001da3c4ca0857b08a1ce3fd330722 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 15 Aug 2024 16:55:56 -0700 Subject: [PATCH 04/10] Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)" --- src/server/editorServices.ts | 124 +- ...-are-all-closed-when-the-update-happens.js | 1 + ...oject-as-part-of-configured-file-update.js | 1 + ...onfig-file-in-a-folder-with-loose-files.js | 3 + ...-and-file-from-first-config-is-not-open.js | 850 +++++++------- ...file-when-parent-folder-has-config-file.js | 719 ++++++------ ...-and-file-from-first-config-is-not-open.js | 847 +++++++------- ...-config-file-with-sibling-jsconfig-file.js | 740 ++++++------ ...er-old-one-without-file-being-in-config.js | 1 + ...re-old-one-without-file-being-in-config.js | 1 + ...er-old-one-without-file-being-in-config.js | 1 + ...invoked,-ask-errors-on-it-after-old-one.js | 1 + ...re-old-one-without-file-being-in-config.js | 1 + ...nvoked,-ask-errors-on-it-before-old-one.js | 1 + ...ndle-@types-if-input-file-list-is-empty.js | 1 + ...e-tolerated-without-crashing-the-server.js | 1 + ...ting-files-specified-in-the-config-file.js | 1 + ...nclude-files-that-start-in-subDirectory.js | 1 + ...gured-project-does-not-contain-the-file.js | 1 + ...zyConfiguredProjectsFromExternalProject.js | 1 + ...config-file-name-with-difference-casing.js | 1 + ...re-jsconfig-creation-watcher-is-invoked.js | 1 + .../autoImportCrossProject_baseUrl_toDist.js | 4 + .../autoImportCrossProject_paths_stripSrc.js | 4 + .../autoImportCrossProject_paths_toDist.js | 4 + .../autoImportCrossProject_paths_toDist2.js | 4 + .../autoImportCrossProject_paths_toSrc.js | 4 + ...utoImportCrossProject_symlinks_stripSrc.js | 4 + .../autoImportCrossProject_symlinks_toDist.js | 4 + .../autoImportCrossProject_symlinks_toSrc.js | 4 + .../fourslashServer/autoImportProvider4.js | 1 + .../fourslashServer/autoImportProvider6.js | 1 + .../fourslashServer/autoImportProvider7.js | 1 + .../fourslashServer/autoImportProvider8.js | 1 + .../autoImportProvider_exportMap1.js | 1 + .../autoImportProvider_exportMap2.js | 1 + .../autoImportProvider_exportMap3.js | 1 + .../autoImportProvider_exportMap4.js | 1 + .../autoImportProvider_exportMap5.js | 1 + .../autoImportProvider_exportMap6.js | 1 + .../autoImportProvider_exportMap7.js | 1 + .../autoImportProvider_exportMap8.js | 1 + .../autoImportProvider_exportMap9.js | 1 + .../autoImportProvider_importsMap1.js | 1 + .../autoImportProvider_importsMap2.js | 1 + .../autoImportProvider_importsMap3.js | 1 + .../autoImportProvider_importsMap4.js | 1 + .../autoImportProvider_importsMap5.js | 1 + .../autoImportProvider_pnpm.js | 1 + .../autoImportProvider_referencesCrash.js | 1 + .../autoImportReExportFromAmbientModule.js | 1 + ...autoImportRelativePathToMonorepoPackage.js | 1 + ...mport_addToNamedWithDifferentCacheValue.js | 1 + .../completionsImport_computedSymbolName.js | 1 + ...nsImport_defaultAndNamedConflict_server.js | 1 + ...letionsImport_jsModuleExportsAssignment.js | 1 + .../completionsImport_mergedReExport.js | 1 + ...mpletionsImport_sortingModuleSpecifiers.js | 1 + .../completionsOverridingMethodCrash2.js | 1 + .../fourslashServer/configurePlugin.js | 1 + .../declarationMapsEnableMapping_NoInline.js | 2 + ...rationMapsEnableMapping_NoInlineSources.js | 2 + ...clarationMapsGeneratedMapsEnableMapping.js | 2 + ...larationMapsGeneratedMapsEnableMapping2.js | 2 + ...larationMapsGeneratedMapsEnableMapping3.js | 2 + .../getFileReferences_deduplicate.js | 1 + .../getFileReferences_server1.js | 1 + .../getFileReferences_server2.js | 1 + .../fourslashServer/goToSource15_bundler.js | 1 + .../fourslashServer/impliedNodeFormat.js | 1 + ...importFixes_ambientCircularDefaultCrash.js | 1 + ...importNameCodeFix_externalNonRelateive2.js | 1 + .../importNameCodeFix_pnpm1.js | 1 + .../importStatementCompletions_pnpm1.js | 1 + ...portStatementCompletions_pnpmTransitive.js | 1 + .../importSuggestionsCache_ambient.js | 1 + .../importSuggestionsCache_coreNodeModules.js | 1 + .../importSuggestionsCache_exportUndefined.js | 1 + ...portSuggestionsCache_invalidPackageJson.js | 1 + ...portSuggestionsCache_moduleAugmentation.js | 1 + .../tsserver/fourslashServer/ngProxy1.js | 1 + .../tsserver/fourslashServer/ngProxy2.js | 1 + .../tsserver/fourslashServer/ngProxy3.js | 1 + .../tsserver/fourslashServer/ngProxy4.js | 1 + .../nodeNextModuleKindCaching1.js | 1 + ...ferencesInEmptyFileWithMultipleProjects.js | 1 + ...nStringLiteralValueWithMultipleProjects.js | 1 + .../fourslashServer/renameNamedImport.js | 201 +++- .../fourslashServer/renameNamespaceImport.js | 201 +++- .../tripleSlashReferenceResolutionMode.js | 1 + .../tsconfigComputedPropertyError.js | 1 + ...rks-with-file-moved-to-inferred-project.js | 1 + .../import-helpers-successfully.js | 1 + ...-project-created-while-opening-the-file.js | 3 + ...re-added,-caches-them,-and-watches-them.js | 1 + ...ultiple-package.json-files-when-present.js | 1 + ...r-deletion,-and-removes-them-from-cache.js | 1 + .../handles-empty-package.json.js | 1 + ...-errors-in-json-parsing-of-package.json.js | 1 + ...-file-opened-and-config-file-has-errors.js | 2 + ...le-opened-and-doesnt-contain-any-errors.js | 2 + ...dProjectLoad-is-set-in-indirect-project.js | 3 + ...-if-disableReferencedProjectLoad-is-set.js | 3 + ...dProjectLoad-is-set-in-indirect-project.js | 3 + ...-if-disableReferencedProjectLoad-is-set.js | 3 + ...-composite-with-file-open-before-revert.js | 765 ++++++++---- ...nfig-tree-found-appConfig-not-composite.js | 666 ++++++++--- ...fig-change-with-file-open-before-revert.js | 1032 ++++++++++++++--- ...rst-config-tree-found-demoConfig-change.js | 955 +++++++++++++-- ...config-tree-found-finds-default-project.js | 732 +++++++++--- ...first-config-tree-found-reload-projects.js | 587 ++++++++-- ...fig-delete-with-file-open-before-revert.js | 725 ++++++++---- ...config-tree-found-solutionConfig-delete.js | 655 ++++++++--- ...ce-to-demo-with-file-open-before-revert.js | 903 ++++++++++++--- ...olutionConfig-without-reference-to-demo.js | 826 ++++++++++--- .../with-dts-file-next-to-ts-file.js | 1 + ...configured-project-that-will-be-removed.js | 188 +-- ...configured-project-that-will-be-removed.js | 327 +----- .../loading-files-with-correct-priority.js | 1 + ...configured-project-that-will-be-removed.js | 173 +-- ...iles-excluded-from-a-configured-project.js | 1 + 121 files changed, 8465 insertions(+), 3895 deletions(-) diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index ba81a6972f91b..a12a16272f48b 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -31,6 +31,7 @@ import { DocumentRegistry, DocumentRegistryBucketKeyWithMode, emptyOptions, + endsWith, ensureTrailingDirectorySeparator, equateStringsCaseInsensitive, equateStringsCaseSensitive, @@ -643,10 +644,37 @@ export interface ProjectServiceOptions { */ export type ConfigFileName = NormalizedPath | false; +/** + * Stores cached config file name for info as well as ancestor so is a map + * Key is false for Open ScriptInfo + * Key is NormalizedPath for Config file name + * @internal + */ +export type ConfigFileMapForOpenFile = Map; + +/** + * The cache for open script info will have + * ConfigFileName or false if ancestors are not looked up + * Map if ancestors are looked up + * @internal + */ +export type ConfigFileForOpenFile = ConfigFileName | ConfigFileMapForOpenFile; + /** Gets cached value of config file name based on open script info or ancestor script info */ -function getConfigFileNameFromCache(info: OpenScriptInfoOrClosedOrConfigFileInfo, cache: Map | undefined): ConfigFileName | undefined { - if (!cache || isAncestorConfigFileInfo(info)) return undefined; - return cache.get(info.path); +function getConfigFileNameFromCache(info: OpenScriptInfoOrClosedOrConfigFileInfo, cache: Map | undefined): ConfigFileName | undefined { + if (!cache) return undefined; + const configFileForOpenFile = cache.get(info.path); + if (configFileForOpenFile === undefined) return undefined; + if (!isAncestorConfigFileInfo(info)) { + return isString(configFileForOpenFile) || !configFileForOpenFile ? + configFileForOpenFile : // direct result + configFileForOpenFile.get(/*key*/ false); // Its a map, use false as the key for the info's config file name + } + else { + return configFileForOpenFile && !isString(configFileForOpenFile) ? // Map with fileName as key + configFileForOpenFile.get(info.fileName) : + undefined; // No result for the config file name + } } /** @internal */ @@ -661,6 +689,7 @@ export interface AncestorConfigFileInfo { /** path of open file so we can look at correct root */ path: Path; configFileInfo: true; + isForDefaultProject: boolean; } /** @internal */ export type OpenScriptInfoOrClosedFileInfo = ScriptInfo | OriginalFileInfo; @@ -709,6 +738,8 @@ function forEachAncestorProject( allowDeferredClosed: boolean | undefined, /** Used with ConfiguredProjectLoadKind.Reload to check if this project was already reloaded */ reloadedProjects: Set | undefined, + /** true means we are looking for solution, so we can stop if found project is not composite to go into parent solution */ + searchOnlyPotentialSolution: boolean, /** Used with ConfiguredProjectLoadKind.Reload to specify delay reload, and also a set of configured projects already marked for delay load */ delayReloadedConfiguredProjects?: Set, ): T | undefined { @@ -718,7 +749,10 @@ function forEachAncestorProject( if ( !project.initialLoadPending && ( - !project.getCompilerOptions().composite || + (searchOnlyPotentialSolution && !project.getCompilerOptions().composite) || + // Currently disableSolutionSearching is shared for finding solution/project when + // - loading solution for find all references + // - trying to find default project project.getCompilerOptions().disableSolutionSearching ) ) return; @@ -728,6 +762,7 @@ function forEachAncestorProject( fileName: project.getConfigFilePath(), path: info.path, configFileInfo: true, + isForDefaultProject: !searchOnlyPotentialSolution, }, kind === ConfiguredProjectLoadKind.Find); if (!configFileName) return; @@ -737,9 +772,9 @@ function forEachAncestorProject( kind, reason, allowDeferredClosed, - /*triggerFile*/ undefined, + !searchOnlyPotentialSolution ? info.fileName : undefined, // Config Diag event for project if its for default project reloadedProjects, - /*delayLoad*/ true, + searchOnlyPotentialSolution, // Delay load if we are searching for solution delayReloadedConfiguredProjects, ); if (!ancestor) return; @@ -1219,7 +1254,7 @@ export class ProjectService { */ readonly openFiles: Map = new Map(); /** Config files looked up and cached config files for open script info */ - private readonly configFileForOpenFiles = new Map(); + private readonly configFileForOpenFiles = new Map(); /** Set of open script infos that are root of inferred project */ private rootOfInferredProjects = new Set(); /** @@ -1258,7 +1293,7 @@ export class ProjectService { * All the open script info that needs recalculation of the default project, * this also caches config file info before config file change was detected to use it in case projects are not updated yet */ - private pendingOpenFileProjectUpdates?: Map; + private pendingOpenFileProjectUpdates?: Map; /** @internal */ pendingEnsureProjectForOpenFiles = false; @@ -2277,7 +2312,7 @@ export class ProjectService { const configFileExistenceInfo = this.configFileExistenceInfoCache.get(canonicalConfigFilePath); let openFilesImpactedByConfigFile: Set | undefined; - if (this.openFiles.has(info.path) && !isAncestorConfigFileInfo(info)) { + if (this.openFiles.has(info.path) && (!isAncestorConfigFileInfo(info) || info.isForDefaultProject)) { // By default the info would get impacted by presence of config file since its in the detection path // Only adding the info as a root to inferred project will need the existence to be watched by file watcher if (configFileExistenceInfo) (configFileExistenceInfo.openFilesImpactedByConfigFile ??= new Set()).add(info.path); @@ -2470,31 +2505,39 @@ export class ProjectService { // If projectRootPath doesn't contain info.path, then do normal search for config file const anySearchPathOk = !projectRootPath || !isSearchPathInProjectRoot(); - // For ancestor of config file always ignore its own directory since its going to result in itself - let searchInDirectory = !isAncestorConfigFileInfo(info); + + let searchTsconfig = true; + let searchJsconfig = true; + if (isAncestorConfigFileInfo(info)) { + // For ancestor of config file always ignore itself + if (endsWith(info.fileName, "tsconfig.json")) searchTsconfig = false; + else searchTsconfig = searchJsconfig = false; + } do { - if (searchInDirectory) { - const canonicalSearchPath = normalizedPathToPath(searchPath, this.currentDirectory, this.toCanonicalFileName); + const canonicalSearchPath = normalizedPathToPath(searchPath, this.currentDirectory, this.toCanonicalFileName); + if (searchTsconfig) { const tsconfigFileName = asNormalizedPath(combinePaths(searchPath, "tsconfig.json")); - let result = action(combinePaths(canonicalSearchPath, "tsconfig.json") as NormalizedPath, tsconfigFileName); + const result = action(combinePaths(canonicalSearchPath, "tsconfig.json") as NormalizedPath, tsconfigFileName); if (result) return tsconfigFileName; + } + if (searchJsconfig) { const jsconfigFileName = asNormalizedPath(combinePaths(searchPath, "jsconfig.json")); - result = action(combinePaths(canonicalSearchPath, "jsconfig.json") as NormalizedPath, jsconfigFileName); + const result = action(combinePaths(canonicalSearchPath, "jsconfig.json") as NormalizedPath, jsconfigFileName); if (result) return jsconfigFileName; + } - // If we started within node_modules, don't look outside node_modules. - // Otherwise, we might pick up a very large project and pull in the world, - // causing an editor delay. - if (isNodeModulesDirectory(canonicalSearchPath)) { - break; - } + // If we started within node_modules, don't look outside node_modules. + // Otherwise, we might pick up a very large project and pull in the world, + // causing an editor delay. + if (isNodeModulesDirectory(canonicalSearchPath)) { + break; } const parentPath = asNormalizedPath(getDirectoryPath(searchPath)); if (parentPath === searchPath) break; searchPath = parentPath; - searchInDirectory = true; + searchTsconfig = searchJsconfig = true; } while (anySearchPathOk || isSearchPathInProjectRoot()); @@ -2529,8 +2572,24 @@ export class ProjectService { configFileName: NormalizedPath | undefined, ) { if (!this.openFiles.has(info.path)) return; // Dont cache for closed script infos - if (isAncestorConfigFileInfo(info)) return; // Dont cache for ancestors - this.configFileForOpenFiles.set(info.path, configFileName || false); + const config = configFileName || false; + if (!isAncestorConfigFileInfo(info)) { + // Set value for open script info + this.configFileForOpenFiles.set(info.path, config); + } + else { + // Need to set value for ancestor in ConfigFileMapForOpenFile + let configFileForOpenFile = this.configFileForOpenFiles.get(info.path)!; + if (!configFileForOpenFile || isString(configFileForOpenFile)) { + // We have value for open script info in cache, make a map with that as false key and set new vlaue + this.configFileForOpenFiles.set( + info.path, + configFileForOpenFile = new Map().set(false, configFileForOpenFile), + ); + } + // Set value of for ancestor in the map + configFileForOpenFile.set(info.fileName, config); + } } /** @@ -4275,7 +4334,8 @@ export class ProjectService { function tryFindDefaultConfiguredProject(project: ConfiguredProject): ConfiguredProject | undefined { return isDefaultProject(project) ? defaultProject : - tryFindDefaultConfiguredProjectFromReferences(project); + (tryFindDefaultConfiguredProjectFromReferences(project) ?? + tryFindDefaultConfiguredProjectFromAncestor(project)); } function isDefaultProject(project: ConfiguredProject): ConfiguredProject | undefined { @@ -4305,6 +4365,19 @@ export class ProjectService { reloadedProjects, ); } + + function tryFindDefaultConfiguredProjectFromAncestor(project: ConfiguredProject) { + return forEachAncestorProject( // If not in referenced projects, try ancestors and its references + info, + project, + tryFindDefaultConfiguredProject, + kind, + `Creating possible configured project for ${info.fileName} to open`, + allowDeferredClosed, + reloadedProjects, + /*searchOnlyPotentialSolution*/ false, + ); + } } /** @@ -4349,6 +4422,7 @@ export class ProjectService { `Creating project possibly referencing default composite project ${defaultProject.getProjectName()} of open file ${info.fileName}`, allowDeferredClosed, reloadedProjects, + /*searchOnlyPotentialSolution*/ true, delayReloadedConfiguredProjects, ); } 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 87d56081ddc34..3d059dd69ede5 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 @@ -228,6 +228,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/src/file2.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/a/b/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 4b3923b1d7254..1276165424331 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 @@ -228,6 +228,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/src/file2.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/a/b/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 d6bd8c87cc801..13464ec5fe741 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 @@ -366,6 +366,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -665,6 +666,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*,/user/username/projects/myproject/tsconfig.json 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1731,6 +1733,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject4* +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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 (2) diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js index e223f4a134bcb..57128a5272ef9 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js @@ -152,135 +152,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/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/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] 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] 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* projectStateVersion: 1 projectProgramVersion: 0 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/folder/commonFile2.ts SVC-1-0 "let y = 1" - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - commonFile2.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 1, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } - } -After request - -PolledWatches:: -/user/username/projects/myproject/folder/jsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/folder/node_modules/@types: *new* - {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: *new* - {"pollingInterval":500} -/user/username/projects/node_modules/@types: *new* - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {} -/user/username/projects/myproject/folder/commonFile1.ts: *new* - {} -/user/username/projects/myproject/folder/tsconfig.json: *new* - {} -/user/username/projects/myproject/tsconfig.json: *new* - {} - -Projects:: -/dev/null/inferredProject1* (Inferred) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* - version: Text-1 - containingProjects: 2 - /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject1* -/user/username/projects/myproject/folder/commonFile1.ts *new* - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* - -1: When config file is deleted -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -//// [/user/username/projects/myproject/folder/tsconfig.json] deleted - -Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* - -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - isOrphan: true *changed* - noOpenRef: false *changed* - deferredClose: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true - -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/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -288,7 +162,7 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { @@ -299,8 +173,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -375,37 +247,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/folder/commonFile2.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* 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) - - - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -413,86 +259,127 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.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 (0) - 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/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile2.ts -Info seq [hh:mm:ss:mss] event: +Info seq [hh:mm:ss:mss] response: { "seq": 0, - "type": "event", - "event": "projectsUpdatedInBackground", - "body": { - "openFiles": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ] + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * } } -After running Timeout callback:: count: 0 +After request PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: +/user/username/projects/myproject/folder/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: +/user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/node_modules/@types: +/user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -PolledWatches *deleted*:: -/user/username/projects/myproject/folder/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} - FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} -/user/username/projects/myproject/folder/commonFile1.ts: +/user/username/projects/myproject/folder/commonFile1.ts: *new* {} -/user/username/projects/myproject/folder/tsconfig.json: +/user/username/projects/myproject/folder/tsconfig.json: *new* {} -/user/username/projects/myproject/tsconfig.json: +/user/username/projects/myproject/tsconfig.json: *new* {} Projects:: -/dev/null/inferredProject1* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* - isOrphan: true *changed* - autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/folder/tsconfig.json (Configured) +/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - isOrphan: true - deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json *new* - /dev/null/inferredProject1* *deleted* -/user/username/projects/myproject/folder/commonFile1.ts + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/folder/commonFile1.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* +/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 *changed* - /user/username/projects/myproject/tsconfig.json *default* *new* - /dev/null/inferredProject1* *deleted* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + +1: When config file is deleted +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 1 +1: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 1 +1: *ensureProjectForOpenFiles* *new* + +Projects:: +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile2.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ] + } + } +After running Timeout callback:: count: 0 Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json @@ -500,8 +387,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -3: /user/username/projects/myproject/folder/tsconfig.json -4: *ensureProjectForOpenFiles* +2: /user/username/projects/myproject/folder/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -511,14 +398,10 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -3: /user/username/projects/myproject/folder/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +2: /user/username/projects/myproject/folder/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 2 - projectProgramVersion: 2 - isOrphan: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 @@ -581,14 +464,11 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.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 (0) - 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/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -597,10 +477,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.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 (0) - 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/folder/commonFile2.ts ProjectRootPath: undefined @@ -620,19 +496,13 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 2 - projectProgramVersion: 2 - isOrphan: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* - noOpenRef: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true *changed* autoImportProviderHost: false Before request @@ -648,16 +518,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/projects/random +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/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/random/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* 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] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/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/random/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* projectStateVersion: 1 projectProgramVersion: 0 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/random/random.ts SVC-1-0 "export const y = 10;" @@ -669,67 +539,23 @@ 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] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile1.ts - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - commonFile1.ts - Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (0) - - - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info -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] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -744,6 +570,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} /user/username/projects/random/jsconfig.json: *new* @@ -753,17 +583,9 @@ PolledWatches:: /user/username/projects/random/tsconfig.json: *new* {"pollingInterval":2000} -PolledWatches *deleted*:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} - FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} - -FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile1.ts: {} /user/username/projects/myproject/folder/tsconfig.json: @@ -772,46 +594,37 @@ FsWatches *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) *deleted* - projectStateVersion: 2 - projectProgramVersion: 2 - isClosed: true *changed* - isOrphan: true -/dev/null/inferredProject2* (Inferred) *new* +/dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* +/user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true -/user/username/projects/myproject/tsconfig.json (Configured) *deleted* +/user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 1 *changed* - /dev/null/inferredProject2* *new* - /user/username/projects/myproject/folder/tsconfig.json *deleted* - /user/username/projects/myproject/tsconfig.json *deleted* -/user/username/projects/myproject/folder/commonFile1.ts *deleted* + containingProjects: 3 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/folder/commonFile1.ts version: Text-1 - containingProjects: 0 *changed* - /user/username/projects/myproject/folder/tsconfig.json *deleted* -/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-1-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/tsconfig.json *deleted* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* /user/username/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Before request @@ -825,13 +638,21 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -843,6 +664,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} /user/username/projects/random/jsconfig.json: @@ -855,22 +680,50 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/folder/commonFile1.ts version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* + /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-1-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json /user/username/projects/random/random.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Before request @@ -885,7 +738,15 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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] ----------------------------------------------- @@ -901,6 +762,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} /user/username/projects/random/node_modules/@types: @@ -915,30 +780,52 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: + {} Projects:: -/dev/null/inferredProject2* (Inferred) *changed* +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 dirty: true *changed* isOrphan: true *changed* autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/folder/commonFile1.ts version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* + /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-1-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json /user/username/projects/random/random.ts *deleted* open: false *changed* version: SVC-1-0 containingProjects: 0 *changed* - /dev/null/inferredProject2* *deleted* + /dev/null/inferredProject1* *deleted* Before request @@ -955,9 +842,9 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -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] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/random/random.ts SVC-2-0 "export const y = 10;" @@ -969,14 +856,53 @@ 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] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile1.ts + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile1.ts + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + folder/commonFile2.ts + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.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 (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/random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1000,34 +926,64 @@ PolledWatches:: /user/username/projects/random/tsconfig.json: *new* {"pollingInterval":2000} +PolledWatches *deleted*:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: + {} Projects:: -/dev/null/inferredProject2* (Inferred) *changed* +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* isOrphan: false *changed* autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 1 - /dev/null/inferredProject2* + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/folder/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/folder/commonFile1.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-1-0 - containingProjects: 0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-2-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Before request @@ -1042,7 +998,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +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] ----------------------------------------------- @@ -1074,7 +1030,7 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *changed* +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 dirty: true *changed* @@ -1084,12 +1040,12 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* + /dev/null/inferredProject1* /user/username/projects/random/random.ts *deleted* open: false *changed* version: SVC-2-0 containingProjects: 0 *changed* - /dev/null/inferredProject2* *deleted* + /dev/null/inferredProject1* *deleted* Before request @@ -1164,32 +1120,67 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject3*, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/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/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] 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] 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* 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/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] 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] 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 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - commonFile2.ts - Root file specified for compilation + folder/commonFile2.ts + 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": "/user/username/projects/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts @@ -1201,21 +1192,21 @@ 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] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject3*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1230,12 +1221,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/folder/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/folder/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: @@ -1256,28 +1243,27 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *deleted* +/dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 3 projectProgramVersion: 1 dirty: true isClosed: true *changed* isOrphan: true -/dev/null/inferredProject3* (Inferred) *new* +/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* +/user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* - /dev/null/inferredProject3* *new* - /dev/null/inferredProject2* *deleted* + /user/username/projects/myproject/tsconfig.json *new* + /dev/null/inferredProject1* *deleted* /user/username/projects/myproject/folder/commonFile1.ts *new* version: Text-2 containingProjects: 1 @@ -1285,38 +1271,29 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-2-0 containingProjects: 1 - /dev/null/inferredProject3* *default* + /user/username/projects/myproject/tsconfig.json *default* 2: Check when file is closed when config file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -Timeout callback:: count: 2 -5: /user/username/projects/myproject/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +4: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject3* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true *changed* - noOpenRef: false *changed* deferredClose: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *new* +/user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true + projectProgramVersion: 1 + autoImportProviderHost: false Info seq [hh:mm:ss:mss] request: { @@ -1327,18 +1304,12 @@ Info seq [hh:mm:ss:mss] request: "seq": 8, "type": "request" } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/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 '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1361,12 +1332,6 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -PolledWatches *deleted*:: -/user/username/projects/myproject/folder/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} - FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -1380,12 +1345,6 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject3* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - isOrphan: true *changed* - autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1394,17 +1353,16 @@ Projects:: deferredClose: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true + projectProgramVersion: 1 noOpenRef: true *changed* + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject3* + /user/username/projects/myproject/tsconfig.json /user/username/projects/myproject/folder/commonFile1.ts version: Text-2 containingProjects: 1 @@ -1412,8 +1370,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-2-0 - containingProjects: 0 *changed* - /dev/null/inferredProject3* *deleted* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json Before request @@ -1428,16 +1386,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject4*, currentDirectory: /user/username/projects/random +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject4* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject4* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject4* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject4* 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/inferredProject4* WatchType: Type roots -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] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/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/random/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* 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/random/random.ts SVC-3-0 "export const y = 10;" @@ -1471,38 +1429,31 @@ 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/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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 '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - commonFile2.ts - Root file specified for compilation + folder/commonFile2.ts + Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) +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] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject4* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1547,14 +1498,7 @@ FsWatches *deleted*:: {} Projects:: -/dev/null/inferredProject3* (Inferred) *deleted* - projectStateVersion: 2 - projectProgramVersion: 1 - dirty: true - isClosed: true *changed* - isOrphan: true - autoImportProviderHost: undefined *changed* -/dev/null/inferredProject4* (Inferred) *new* +/dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false @@ -1567,27 +1511,27 @@ Projects:: deferredClose: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true + projectProgramVersion: 1 isClosed: true *changed* noOpenRef: true + autoImportProviderHost: undefined *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* - /dev/null/inferredProject4* *new* + /dev/null/inferredProject2* *new* /user/username/projects/myproject/folder/tsconfig.json *deleted* - /dev/null/inferredProject3* *deleted* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: Text-2 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-2-0 - containingProjects: 0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-3-0 containingProjects: 1 - /dev/null/inferredProject4* *default* + /dev/null/inferredProject2* *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js index cb031250a86cb..1c3d0560adf93 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js @@ -500,6 +500,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/com Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -534,10 +535,9 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true *changed* autoImportProviderHost: false Before request @@ -574,25 +574,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] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -604,7 +590,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: @@ -639,8 +625,6 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} - -FsWatches *deleted*:: /user/username/projects/myproject/tsconfig.json: {} @@ -652,28 +636,26 @@ Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) *deleted* +/user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* + containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject1* *new* - /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-1-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* -/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* +/user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-1-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/tsconfig.json *deleted* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* /user/username/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -694,6 +676,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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) @@ -701,7 +687,7 @@ 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/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: @@ -735,22 +721,15 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} - -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true *changed* +/user/username/projects/myproject/tsconfig.json: + {} ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject1* /user/username/projects/myproject/folder/commonFile1.ts *changed* open: false *changed* @@ -759,7 +738,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-1-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* /user/username/projects/random/random.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -780,6 +760,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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) @@ -821,12 +805,30 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} +/user/username/projects/myproject/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject1* /user/username/projects/myproject/folder/commonFile1.ts version: SVC-1-0 @@ -835,7 +837,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-1-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json /user/username/projects/random/random.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -857,6 +860,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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) @@ -898,6 +905,8 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} +/user/username/projects/myproject/tsconfig.json: + {} Projects:: /dev/null/inferredProject1* (Inferred) *changed* @@ -910,12 +919,18 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 1 noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject1* /user/username/projects/myproject/folder/commonFile1.ts version: SVC-1-0 @@ -923,7 +938,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-1-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json /user/username/projects/random/random.ts *deleted* open: false *changed* version: SVC-1-0 @@ -979,6 +995,24 @@ 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/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + folder/commonFile2.ts + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1028,6 +1062,8 @@ FsWatches *deleted*:: {} /user/username/projects/myproject/folder/tsconfig.json: {} +/user/username/projects/myproject/tsconfig.json: + {} Projects:: /dev/null/inferredProject1* (Inferred) *changed* @@ -1041,6 +1077,12 @@ Projects:: projectProgramVersion: 1 isClosed: true *changed* noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -1048,13 +1090,15 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject1* /user/username/projects/myproject/folder/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: SVC-1-0 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-1-0 - containingProjects: 0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-2-0 containingProjects: 1 @@ -1284,46 +1328,70 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: { "seq": 0, "type": "event", - "event": "configFileDiag", + "event": "projectLoadingStart", "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", - "configFile": "/user/username/projects/myproject/folder/tsconfig.json", - "diagnostics": [] + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/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/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] 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] 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* 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/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] 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] 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 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - commonFile2.ts - Root file specified for compilation + folder/commonFile2.ts + 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": "/user/username/projects/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1331,7 +1399,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1346,12 +1414,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/folder/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/folder/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: @@ -1366,11 +1430,11 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *new* +/user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false @@ -1380,7 +1444,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject2* *new* + /user/username/projects/myproject/tsconfig.json *new* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-2-0 containingProjects: 1 @@ -1388,101 +1452,34 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-2-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /user/username/projects/myproject/tsconfig.json *default* 2: When both files are open and config file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -5: /user/username/projects/myproject/tsconfig.json -6: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 1 +5: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -Timeout callback:: count: 2 -5: /user/username/projects/myproject/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +5: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject2* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true *changed* deferredClose: true *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *new* +/user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true - -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/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] 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] 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 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json + projectProgramVersion: 1 + autoImportProviderHost: false -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } +Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) @@ -1492,20 +1489,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.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/inferredProject2*' (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/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root 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/inferredProject2* -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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/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/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] 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] 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* 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" @@ -1552,23 +1553,17 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/folder/jsconfig.json: - {"pollingInterval":2000} *new* +/user/username/projects/myproject/folder/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/folder/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} *new* +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -PolledWatches *deleted*:: -/user/username/projects/myproject/folder/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} - FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -1578,39 +1573,36 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* - autoImportProviderHost: undefined *changed* +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject2* - /user/username/projects/myproject/tsconfig.json *new* + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject2* *new* /user/username/projects/myproject/folder/commonFile1.ts (Open) *changed* version: SVC-2-0 containingProjects: 2 *changed* /dev/null/inferredProject2* *default* *new* /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* +/user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-2-0 - containingProjects: 1 *changed* - /user/username/projects/myproject/tsconfig.json *default* *new* - /dev/null/inferredProject2* *deleted* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json @@ -1619,8 +1611,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -7: /user/username/projects/myproject/folder/tsconfig.json -8: *ensureProjectForOpenFiles* +6: /user/username/projects/myproject/folder/tsconfig.json +7: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -1630,13 +1622,14 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -7: /user/username/projects/myproject/folder/tsconfig.json *new* -8: *ensureProjectForOpenFiles* *new* +6: /user/username/projects/myproject/folder/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject2* (Inferred) - projectStateVersion: 2 - projectProgramVersion: 2 + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 @@ -1709,10 +1702,11 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/com Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2*,/user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/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: /dev/null/inferredProject2* -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] 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) @@ -1776,17 +1770,17 @@ FsWatches:: Projects:: /dev/null/inferredProject2* (Inferred) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 3 *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* isOrphan: true *changed* + autoImportProviderHost: undefined *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true *changed* autoImportProviderHost: false ScriptInfos:: @@ -1841,24 +1835,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1874,6 +1850,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -1883,7 +1863,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: @@ -1918,15 +1898,13 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} - -FsWatches *deleted*:: /user/username/projects/myproject/tsconfig.json: {} Projects:: /dev/null/inferredProject2* (Inferred) *deleted* - projectStateVersion: 3 - projectProgramVersion: 3 + projectStateVersion: 2 + projectProgramVersion: 2 isClosed: true *changed* isOrphan: true /dev/null/inferredProject3* (Inferred) *new* @@ -1936,28 +1914,26 @@ Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) *deleted* +/user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* + containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject3* *new* - /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-2-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* -/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* +/user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-2-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/tsconfig.json *deleted* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* /user/username/projects/random/random.ts (Open) *new* version: SVC-3-0 containingProjects: 1 @@ -1978,6 +1954,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -1985,7 +1965,7 @@ 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/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: @@ -2019,22 +1999,15 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} - -Projects:: -/dev/null/inferredProject3* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true *changed* +/user/username/projects/myproject/tsconfig.json: + {} ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject3* /user/username/projects/myproject/folder/commonFile1.ts *changed* open: false *changed* @@ -2043,7 +2016,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-2-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* /user/username/projects/random/random.ts (Open) version: SVC-3-0 containingProjects: 1 @@ -2064,6 +2038,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -2105,12 +2083,30 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} +/user/username/projects/myproject/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject3* /user/username/projects/myproject/folder/commonFile1.ts version: SVC-2-0 @@ -2119,7 +2115,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-2-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json /user/username/projects/random/random.ts (Open) version: SVC-3-0 containingProjects: 1 @@ -2141,6 +2138,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -2182,6 +2183,8 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} +/user/username/projects/myproject/tsconfig.json: + {} Projects:: /dev/null/inferredProject3* (Inferred) *changed* @@ -2194,12 +2197,18 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 1 noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject3* /user/username/projects/myproject/folder/commonFile1.ts version: SVC-2-0 @@ -2207,7 +2216,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-2-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json /user/username/projects/random/random.ts *deleted* open: false *changed* version: SVC-3-0 @@ -2263,6 +2273,24 @@ 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/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + folder/commonFile2.ts + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) @@ -2312,6 +2340,8 @@ FsWatches *deleted*:: {} /user/username/projects/myproject/folder/tsconfig.json: {} +/user/username/projects/myproject/tsconfig.json: + {} Projects:: /dev/null/inferredProject3* (Inferred) *changed* @@ -2325,6 +2355,12 @@ Projects:: projectProgramVersion: 1 isClosed: true *changed* noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -2332,13 +2368,15 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject3* /user/username/projects/myproject/folder/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: SVC-2-0 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-2-0 - containingProjects: 0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-4-0 containingProjects: 1 @@ -2584,8 +2622,8 @@ FsWatches:: {} Timeout callback:: count: 2 -9: /user/username/projects/myproject/tsconfig.json *new* -10: *ensureProjectForOpenFiles* *new* +8: /user/username/projects/myproject/tsconfig.json *new* +9: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -3279,10 +3317,10 @@ FsWatches:: {} Timeout callback:: count: 2 -9: /user/username/projects/myproject/tsconfig.json *deleted* -10: *ensureProjectForOpenFiles* *deleted* -11: /user/username/projects/myproject/tsconfig.json *new* -12: *ensureProjectForOpenFiles* *new* +8: /user/username/projects/myproject/tsconfig.json *deleted* +9: *ensureProjectForOpenFiles* *deleted* +10: /user/username/projects/myproject/tsconfig.json *new* +11: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -4203,10 +4241,10 @@ FsWatches:: {} Timeout callback:: count: 2 -11: /user/username/projects/myproject/tsconfig.json *deleted* -12: *ensureProjectForOpenFiles* *deleted* -13: /user/username/projects/myproject/tsconfig.json *new* -14: *ensureProjectForOpenFiles* *new* +10: /user/username/projects/myproject/tsconfig.json *deleted* +11: *ensureProjectForOpenFiles* *deleted* +12: /user/username/projects/myproject/tsconfig.json *new* +13: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -5128,46 +5166,70 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: { "seq": 0, "type": "event", - "event": "configFileDiag", + "event": "projectLoadingStart", "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", - "configFile": "/user/username/projects/myproject/folder/tsconfig.json", - "diagnostics": [] + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject7*, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject7* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* 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/inferredProject7* WatchType: Type roots -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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/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] 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] 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 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-6-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - commonFile2.ts - Root file specified for compilation + folder/commonFile2.ts + 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": "/user/username/projects/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -5175,7 +5237,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject7* +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -5190,12 +5252,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/folder/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/folder/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: @@ -5210,11 +5268,11 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject7* (Inferred) *new* +/user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false @@ -5224,7 +5282,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject7* *new* + /user/username/projects/myproject/tsconfig.json *new* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 @@ -5232,7 +5290,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-6-0 containingProjects: 1 - /dev/null/inferredProject7* *default* + /user/username/projects/myproject/tsconfig.json *default* Before request @@ -5245,15 +5303,12 @@ Info seq [hh:mm:ss:mss] request: "seq": 41, "type": "request" } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/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/tsconfig.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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -5278,12 +5333,6 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -PolledWatches *deleted*:: -/user/username/projects/myproject/folder/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} - FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -5291,21 +5340,18 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} - -FsWatches *deleted*:: /user/username/projects/myproject/tsconfig.json: {} Projects:: -/dev/null/inferredProject7* (Inferred) *changed* - projectStateVersion: 2 *changed* +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 projectProgramVersion: 1 - dirty: true *changed* - isOrphan: true *changed* autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true *changed* autoImportProviderHost: false ScriptInfos:: @@ -5313,7 +5359,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject7* + /user/username/projects/myproject/tsconfig.json /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 @@ -5321,8 +5367,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-6-0 - containingProjects: 0 *changed* - /dev/null/inferredProject7* *deleted* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json Before request @@ -5337,16 +5383,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject8*, currentDirectory: /user/username/projects/random +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject7*, currentDirectory: /user/username/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject8* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* 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/inferredProject8* WatchType: Type roots -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] Starting updateGraphWorker: Project: /dev/null/inferredProject7* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* 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/inferredProject7* WatchType: Type roots +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 (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/random/random.ts SVC-10-0 "export const y = 10;" @@ -5359,30 +5405,29 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - commonFile2.ts - Root file specified for compilation + folder/commonFile2.ts + Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject8*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -5390,7 +5435,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject8* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject7* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -5427,16 +5472,11 @@ FsWatches:: FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile2.ts: {} +/user/username/projects/myproject/tsconfig.json: + {} Projects:: -/dev/null/inferredProject7* (Inferred) *deleted* - projectStateVersion: 2 - projectProgramVersion: 1 - dirty: true - isClosed: true *changed* - isOrphan: true - autoImportProviderHost: undefined *changed* -/dev/null/inferredProject8* (Inferred) *new* +/dev/null/inferredProject7* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false @@ -5444,22 +5484,29 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject8* *new* - /dev/null/inferredProject7* *deleted* + /dev/null/inferredProject7* *new* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-6-0 - containingProjects: 0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-10-0 containingProjects: 1 - /dev/null/inferredProject8* *default* + /dev/null/inferredProject7* *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js index 16e9c3e2b38a1..5261c4439003d 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js @@ -155,135 +155,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/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/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] 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] 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* projectStateVersion: 1 projectProgramVersion: 0 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/folder/commonFile2.ts SVC-1-0 "let y = 1" - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - commonFile2.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 1, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } - } -After request - -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: *new* - {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: *new* - {"pollingInterval":500} -/user/username/projects/myproject/tsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/node_modules/@types: *new* - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {} -/user/username/projects/myproject/folder/commonFile1.ts: *new* - {} -/user/username/projects/myproject/folder/jsconfig.json: *new* - {} -/user/username/projects/myproject/folder/tsconfig.json: *new* - {} - -Projects:: -/dev/null/inferredProject1* (Inferred) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* - version: Text-1 - containingProjects: 2 - /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject1* -/user/username/projects/myproject/folder/commonFile1.ts *new* - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* - -1: When config file is deleted -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -1: /user/username/projects/myproject/folder/jsconfig.json -2: *ensureProjectForOpenFiles* -//// [/user/username/projects/myproject/folder/tsconfig.json] deleted - -Timeout callback:: count: 2 -1: /user/username/projects/myproject/folder/jsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* - -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - isOrphan: true *changed* - noOpenRef: false *changed* - deferredClose: true *changed* - -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -291,7 +165,7 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { @@ -307,8 +181,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.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/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots @@ -391,37 +263,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/folder/jsconfig.json", + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", "configFile": "/user/username/projects/myproject/folder/jsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.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* 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) - - - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -429,86 +275,127 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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 (0) - 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/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile2.ts -Info seq [hh:mm:ss:mss] event: +Info seq [hh:mm:ss:mss] response: { "seq": 0, - "type": "event", - "event": "projectsUpdatedInBackground", - "body": { - "openFiles": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ] + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * } } -After running Timeout callback:: count: 0 +After request PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: +/user/username/projects/myproject/folder/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: +/user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/node_modules/@types: +/user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -PolledWatches *deleted*:: -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/tsconfig.json: - {"pollingInterval":2000} - FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} -/user/username/projects/myproject/folder/commonFile1.ts: +/user/username/projects/myproject/folder/commonFile1.ts: *new* {} -/user/username/projects/myproject/folder/jsconfig.json: +/user/username/projects/myproject/folder/jsconfig.json: *new* {} -/user/username/projects/myproject/folder/tsconfig.json: +/user/username/projects/myproject/folder/tsconfig.json: *new* {} Projects:: -/dev/null/inferredProject1* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* - isOrphan: true *changed* - autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* -/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - isOrphan: true - deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json *new* - /dev/null/inferredProject1* *deleted* -/user/username/projects/myproject/folder/commonFile1.ts + /user/username/projects/myproject/folder/jsconfig.json +/user/username/projects/myproject/folder/commonFile1.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* +/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 *changed* - /user/username/projects/myproject/folder/jsconfig.json *default* *new* - /dev/null/inferredProject1* *deleted* + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* + +1: When config file is deleted +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 1 +1: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 1 +1: *ensureProjectForOpenFiles* *new* + +Projects:: +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* + +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/jsconfig.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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/jsconfig.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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile2.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ] + } + } +After running Timeout callback:: count: 0 Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json @@ -516,8 +403,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -3: /user/username/projects/myproject/folder/tsconfig.json -4: *ensureProjectForOpenFiles* +2: /user/username/projects/myproject/folder/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -527,14 +414,10 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -3: /user/username/projects/myproject/folder/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +2: /user/username/projects/myproject/folder/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 2 - projectProgramVersion: 2 - isOrphan: true /user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -597,14 +480,11 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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 (0) - 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/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -613,10 +493,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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 (0) - 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/folder/commonFile2.ts ProjectRootPath: undefined @@ -636,20 +512,14 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 2 - projectProgramVersion: 2 - isOrphan: true -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true *changed* autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* - noOpenRef: true *changed* Before request @@ -664,16 +534,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/projects/random +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/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/random/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* 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] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/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/random/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* projectStateVersion: 1 projectProgramVersion: 0 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/random/random.ts SVC-1-0 "export const y = 10;" @@ -685,69 +555,23 @@ 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] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile1.ts - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - commonFile1.ts - Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - commonFile2.ts - Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (0) - - - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info -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] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -762,6 +586,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} /user/username/projects/random/jsconfig.json: *new* @@ -771,17 +599,9 @@ PolledWatches:: /user/username/projects/random/tsconfig.json: *new* {"pollingInterval":2000} -PolledWatches *deleted*:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} - FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} - -FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile1.ts: {} /user/username/projects/myproject/folder/jsconfig.json: @@ -790,46 +610,37 @@ FsWatches *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) *deleted* - projectStateVersion: 2 - projectProgramVersion: 2 - isClosed: true *changed* - isOrphan: true -/dev/null/inferredProject2* (Inferred) *new* +/dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* +/user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 1 *changed* - /dev/null/inferredProject2* *new* - /user/username/projects/myproject/folder/tsconfig.json *deleted* - /user/username/projects/myproject/folder/jsconfig.json *deleted* -/user/username/projects/myproject/folder/commonFile1.ts *deleted* + containingProjects: 3 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/folder/commonFile1.ts version: Text-1 - containingProjects: 0 *changed* - /user/username/projects/myproject/folder/tsconfig.json *deleted* -/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-1-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/folder/jsconfig.json *deleted* + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* /user/username/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Before request @@ -843,13 +654,21 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -861,6 +680,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} /user/username/projects/random/jsconfig.json: @@ -873,22 +696,50 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} +/user/username/projects/myproject/folder/jsconfig.json: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/folder/commonFile1.ts version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* + /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-1-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json /user/username/projects/random/random.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Before request @@ -903,7 +754,15 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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] ----------------------------------------------- @@ -919,6 +778,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} /user/username/projects/random/node_modules/@types: @@ -933,30 +796,52 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: {} +/user/username/projects/myproject/folder/jsconfig.json: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} Projects:: -/dev/null/inferredProject2* (Inferred) *changed* +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 dirty: true *changed* isOrphan: true *changed* autoImportProviderHost: false +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/folder/commonFile1.ts version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* + /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-1-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json /user/username/projects/random/random.ts *deleted* open: false *changed* version: SVC-1-0 containingProjects: 0 *changed* - /dev/null/inferredProject2* *deleted* + /dev/null/inferredProject1* *deleted* Before request @@ -973,9 +858,9 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -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] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/random/random.ts SVC-2-0 "export const y = 10;" @@ -987,14 +872,55 @@ 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] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile1.ts + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile1.ts + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.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 (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/random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1018,34 +944,64 @@ PolledWatches:: /user/username/projects/random/tsconfig.json: *new* {"pollingInterval":2000} +PolledWatches *deleted*:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: {} +/user/username/projects/myproject/folder/jsconfig.json: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} Projects:: -/dev/null/inferredProject2* (Inferred) *changed* +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* isOrphan: false *changed* autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 1 - /dev/null/inferredProject2* + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/folder/tsconfig.json *deleted* + /user/username/projects/myproject/folder/jsconfig.json *deleted* +/user/username/projects/myproject/folder/commonFile1.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-1-0 - containingProjects: 0 + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-2-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Before request @@ -1060,7 +1016,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +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] ----------------------------------------------- @@ -1092,7 +1048,7 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *changed* +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 dirty: true *changed* @@ -1102,12 +1058,12 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* + /dev/null/inferredProject1* /user/username/projects/random/random.ts *deleted* open: false *changed* version: SVC-2-0 containingProjects: 0 *changed* - /dev/null/inferredProject2* *deleted* + /dev/null/inferredProject1* *deleted* Before request @@ -1182,19 +1138,41 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject3*, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/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/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] 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] 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* 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "allowJs": true, + "maxNodeModuleJsDepth": 2, + "allowSyntheticDefaultImports": true, + "skipLibCheck": true, + "noEmit": true, + "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" + } +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/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/folder/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/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" @@ -1203,11 +1181,31 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' commonFile2.ts - Root file specified for compilation + 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": "/user/username/projects/myproject/folder/jsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/folder/jsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts @@ -1219,21 +1217,21 @@ 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] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject3*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1250,12 +1248,8 @@ After request PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/tsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -1274,28 +1268,27 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *deleted* +/dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 3 projectProgramVersion: 1 dirty: true isClosed: true *changed* isOrphan: true -/dev/null/inferredProject3* (Inferred) *new* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* - /dev/null/inferredProject3* *new* - /dev/null/inferredProject2* *deleted* + /user/username/projects/myproject/folder/jsconfig.json *new* + /dev/null/inferredProject1* *deleted* /user/username/projects/myproject/folder/commonFile1.ts *new* version: Text-2 containingProjects: 1 @@ -1303,37 +1296,28 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-2-0 containingProjects: 1 - /dev/null/inferredProject3* *default* + /user/username/projects/myproject/folder/jsconfig.json *default* 2: Check when file is closed when config file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -Timeout callback:: count: 2 -5: /user/username/projects/myproject/folder/jsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +4: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject3* (Inferred) +/user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true *changed* - noOpenRef: false *changed* deferredClose: true *changed* Info seq [hh:mm:ss:mss] request: @@ -1345,18 +1329,12 @@ Info seq [hh:mm:ss:mss] request: "seq": 8, "type": "request" } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending - -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] ----------------------------------------------- @@ -1379,12 +1357,6 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -PolledWatches *deleted*:: -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/tsconfig.json: - {"pollingInterval":2000} - FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -1398,18 +1370,11 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject3* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - isOrphan: true *changed* - autoImportProviderHost: false /user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true + projectProgramVersion: 1 noOpenRef: true *changed* + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1422,7 +1387,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject3* + /user/username/projects/myproject/folder/jsconfig.json /user/username/projects/myproject/folder/commonFile1.ts version: Text-2 containingProjects: 1 @@ -1430,8 +1395,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-2-0 - containingProjects: 0 *changed* - /dev/null/inferredProject3* *deleted* + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json Before request @@ -1446,16 +1411,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject4*, currentDirectory: /user/username/projects/random +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject4* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject4* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject4* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject4* 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/inferredProject4* WatchType: Type roots -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] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/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/random/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* 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/random/random.ts SVC-3-0 "export const y = 10;" @@ -1489,12 +1454,6 @@ 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/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.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 '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts @@ -1503,24 +1462,25 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' commonFile2.ts - Root file specified for compilation + Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) +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] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject4* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1565,24 +1525,16 @@ FsWatches *deleted*:: {} Projects:: -/dev/null/inferredProject3* (Inferred) *deleted* - projectStateVersion: 2 - projectProgramVersion: 1 - dirty: true - isClosed: true *changed* - isOrphan: true - autoImportProviderHost: undefined *changed* -/dev/null/inferredProject4* (Inferred) *new* +/dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false /user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true + projectProgramVersion: 1 isClosed: true *changed* noOpenRef: true + autoImportProviderHost: undefined *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 @@ -1595,17 +1547,18 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* - /dev/null/inferredProject4* *new* + /dev/null/inferredProject2* *new* /user/username/projects/myproject/folder/tsconfig.json *deleted* - /dev/null/inferredProject3* *deleted* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: Text-2 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-2-0 - containingProjects: 0 + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-3-0 containingProjects: 1 - /dev/null/inferredProject4* *default* + /dev/null/inferredProject2* *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js index 2bb5473e28d97..543e0850ea8b2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js @@ -516,6 +516,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/com Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -546,10 +547,9 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true *changed* autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 @@ -590,27 +590,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] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - commonFile2.ts - Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -622,7 +606,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: @@ -655,24 +639,20 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject/folder/tsconfig.json: - {} - -FsWatches *deleted*:: /user/username/projects/myproject/folder/jsconfig.json: {} +/user/username/projects/myproject/folder/tsconfig.json: + {} Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* +/user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 @@ -680,18 +660,18 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* + containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject1* *new* - /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-1-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* -/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* +/user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-1-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/folder/jsconfig.json *deleted* + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* /user/username/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -712,6 +692,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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) @@ -719,7 +703,7 @@ 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/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: @@ -751,24 +735,17 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} +/user/username/projects/myproject/folder/jsconfig.json: + {} /user/username/projects/myproject/folder/tsconfig.json: {} -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true *changed* - ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject1* /user/username/projects/myproject/folder/commonFile1.ts *changed* open: false *changed* @@ -777,7 +754,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-1-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* /user/username/projects/random/random.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -798,6 +776,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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) @@ -837,14 +819,32 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} +/user/username/projects/myproject/folder/jsconfig.json: + {} /user/username/projects/myproject/folder/tsconfig.json: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject1* /user/username/projects/myproject/folder/commonFile1.ts version: SVC-1-0 @@ -853,7 +853,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-1-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json /user/username/projects/random/random.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -875,6 +876,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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) @@ -914,6 +919,8 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile2.ts: {} +/user/username/projects/myproject/folder/jsconfig.json: + {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -924,6 +931,11 @@ Projects:: dirty: true *changed* isOrphan: true *changed* autoImportProviderHost: false +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 @@ -932,8 +944,9 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject1* /user/username/projects/myproject/folder/commonFile1.ts version: SVC-1-0 @@ -941,7 +954,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-1-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json /user/username/projects/random/random.ts *deleted* open: false *changed* version: SVC-1-0 @@ -997,6 +1011,26 @@ 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/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1044,6 +1078,8 @@ FsWatches *deleted*:: {} /user/username/projects/myproject/folder/commonFile2.ts: {} +/user/username/projects/myproject/folder/jsconfig.json: + {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -1054,6 +1090,12 @@ Projects:: dirty: false *changed* isOrphan: false *changed* autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 @@ -1066,13 +1108,15 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject1* /user/username/projects/myproject/folder/tsconfig.json *deleted* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: SVC-1-0 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-1-0 - containingProjects: 0 + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-2-0 containingProjects: 1 @@ -1302,30 +1346,41 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", - "event": "configFileDiag", + "event": "projectLoadingStart", "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", - "configFile": "/user/username/projects/myproject/folder/tsconfig.json", - "diagnostics": [] + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/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/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] 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] 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* 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] Config: /user/username/projects/myproject/folder/jsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "allowJs": true, + "maxNodeModuleJsDepth": 2, + "allowSyntheticDefaultImports": true, + "skipLibCheck": true, + "noEmit": true, + "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" + } +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/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/folder/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/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" @@ -1334,14 +1389,34 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' commonFile2.ts - Root file specified for compilation + 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": "/user/username/projects/myproject/folder/jsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/folder/jsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1349,7 +1424,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1366,12 +1441,8 @@ After request PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/tsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -1384,7 +1455,7 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *new* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false @@ -1398,7 +1469,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject2* *new* + /user/username/projects/myproject/folder/jsconfig.json *new* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-2-0 containingProjects: 1 @@ -1406,35 +1477,26 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-2-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /user/username/projects/myproject/folder/jsconfig.json *default* 2: When both files are open and config file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -5: /user/username/projects/myproject/folder/jsconfig.json -6: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 1 +5: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -Timeout callback:: count: 2 -5: /user/username/projects/myproject/folder/jsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +5: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject2* (Inferred) +/user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1442,72 +1504,7 @@ Projects:: deferredClose: true *changed* autoImportProviderHost: undefined *changed* -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "allowJs": true, - "maxNodeModuleJsDepth": 2, - "allowSyntheticDefaultImports": true, - "skipLibCheck": true, - "noEmit": true, - "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.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/folder/jsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/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/folder/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/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - commonFile2.ts - 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": "/user/username/projects/myproject/folder/jsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/folder/jsconfig.json", - "configFile": "/user/username/projects/myproject/folder/jsconfig.json", - "diagnostics": [] - } - } +Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) @@ -1517,20 +1514,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/inferredProject2*' (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/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/jsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/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/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] 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] 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* 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" @@ -1579,21 +1580,15 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} *new* +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/tsconfig.json: - {"pollingInterval":2000} *new* +/user/username/projects/myproject/tsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -PolledWatches *deleted*:: -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/tsconfig.json: - {"pollingInterval":2000} - FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -1603,16 +1598,14 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* - autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* +/dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1624,18 +1617,17 @@ ScriptInfos:: version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject2* - /user/username/projects/myproject/folder/jsconfig.json *new* + /user/username/projects/myproject/folder/jsconfig.json + /dev/null/inferredProject2* *new* /user/username/projects/myproject/folder/commonFile1.ts (Open) *changed* version: SVC-2-0 containingProjects: 2 *changed* /dev/null/inferredProject2* *default* *new* /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* +/user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-2-0 - containingProjects: 1 *changed* - /user/username/projects/myproject/folder/jsconfig.json *default* *new* - /dev/null/inferredProject2* *deleted* + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json @@ -1644,8 +1636,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -7: /user/username/projects/myproject/folder/tsconfig.json -8: *ensureProjectForOpenFiles* +6: /user/username/projects/myproject/folder/tsconfig.json +7: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -1655,13 +1647,14 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -7: /user/username/projects/myproject/folder/tsconfig.json *new* -8: *ensureProjectForOpenFiles* *new* +6: /user/username/projects/myproject/folder/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject2* (Inferred) - projectStateVersion: 2 - projectProgramVersion: 2 + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false /user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1734,10 +1727,11 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/com Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2*,/user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.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: /dev/null/inferredProject2* -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] 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) @@ -1801,13 +1795,13 @@ FsWatches:: Projects:: /dev/null/inferredProject2* (Inferred) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 3 *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* isOrphan: true *changed* -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* + autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true *changed* autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 @@ -1866,26 +1860,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - commonFile2.ts - Part of 'files' list in tsconfig.json - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1901,6 +1875,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -1910,7 +1888,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: @@ -1943,29 +1921,25 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject/folder/tsconfig.json: - {} - -FsWatches *deleted*:: /user/username/projects/myproject/folder/jsconfig.json: {} +/user/username/projects/myproject/folder/tsconfig.json: + {} Projects:: /dev/null/inferredProject2* (Inferred) *deleted* - projectStateVersion: 3 - projectProgramVersion: 3 + projectStateVersion: 2 + projectProgramVersion: 2 isClosed: true *changed* isOrphan: true /dev/null/inferredProject3* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* +/user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 @@ -1973,18 +1947,18 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* + containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject3* *new* - /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-2-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* -/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* +/user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-2-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/folder/jsconfig.json *deleted* + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* /user/username/projects/random/random.ts (Open) *new* version: SVC-3-0 containingProjects: 1 @@ -2005,6 +1979,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -2012,7 +1990,7 @@ 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/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: @@ -2044,24 +2022,17 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} +/user/username/projects/myproject/folder/jsconfig.json: + {} /user/username/projects/myproject/folder/tsconfig.json: {} -Projects:: -/dev/null/inferredProject3* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true *changed* - ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject3* /user/username/projects/myproject/folder/commonFile1.ts *changed* open: false *changed* @@ -2070,7 +2041,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-2-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* /user/username/projects/random/random.ts (Open) version: SVC-3-0 containingProjects: 1 @@ -2091,6 +2063,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -2130,14 +2106,32 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} +/user/username/projects/myproject/folder/jsconfig.json: + {} /user/username/projects/myproject/folder/tsconfig.json: {} +Projects:: +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject3* /user/username/projects/myproject/folder/commonFile1.ts version: SVC-2-0 @@ -2146,7 +2140,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-2-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json /user/username/projects/random/random.ts (Open) version: SVC-3-0 containingProjects: 1 @@ -2168,6 +2163,10 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -2207,6 +2206,8 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile2.ts: {} +/user/username/projects/myproject/folder/jsconfig.json: + {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -2217,6 +2218,11 @@ Projects:: dirty: true *changed* isOrphan: true *changed* autoImportProviderHost: false +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 @@ -2225,8 +2231,9 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject3* /user/username/projects/myproject/folder/commonFile1.ts version: SVC-2-0 @@ -2234,7 +2241,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-2-0 - containingProjects: 0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json /user/username/projects/random/random.ts *deleted* open: false *changed* version: SVC-3-0 @@ -2290,6 +2298,26 @@ 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/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) @@ -2337,6 +2365,8 @@ FsWatches *deleted*:: {} /user/username/projects/myproject/folder/commonFile2.ts: {} +/user/username/projects/myproject/folder/jsconfig.json: + {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -2347,6 +2377,12 @@ Projects:: dirty: false *changed* isOrphan: false *changed* autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 @@ -2359,13 +2395,15 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject3* /user/username/projects/myproject/folder/tsconfig.json *deleted* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: SVC-2-0 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-2-0 - containingProjects: 0 + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-4-0 containingProjects: 1 @@ -2611,8 +2649,8 @@ FsWatches:: {} Timeout callback:: count: 2 -9: /user/username/projects/myproject/folder/jsconfig.json *new* -10: *ensureProjectForOpenFiles* *new* +8: /user/username/projects/myproject/folder/jsconfig.json *new* +9: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/jsconfig.json (Configured) *new* @@ -3315,10 +3353,10 @@ FsWatches:: {} Timeout callback:: count: 2 -9: /user/username/projects/myproject/folder/jsconfig.json *deleted* -10: *ensureProjectForOpenFiles* *deleted* -11: /user/username/projects/myproject/folder/jsconfig.json *new* -12: *ensureProjectForOpenFiles* *new* +8: /user/username/projects/myproject/folder/jsconfig.json *deleted* +9: *ensureProjectForOpenFiles* *deleted* +10: /user/username/projects/myproject/folder/jsconfig.json *new* +11: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/jsconfig.json (Configured) *new* @@ -4248,10 +4286,10 @@ FsWatches:: {} Timeout callback:: count: 2 -11: /user/username/projects/myproject/folder/jsconfig.json *deleted* -12: *ensureProjectForOpenFiles* *deleted* -13: /user/username/projects/myproject/folder/jsconfig.json *new* -14: *ensureProjectForOpenFiles* *new* +10: /user/username/projects/myproject/folder/jsconfig.json *deleted* +11: *ensureProjectForOpenFiles* *deleted* +12: /user/username/projects/myproject/folder/jsconfig.json *new* +13: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/jsconfig.json (Configured) *new* @@ -5182,30 +5220,41 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", - "event": "configFileDiag", + "event": "projectLoadingStart", "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", - "configFile": "/user/username/projects/myproject/folder/tsconfig.json", - "diagnostics": [] + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject7*, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject7* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* 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/inferredProject7* WatchType: Type roots -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] Config: /user/username/projects/myproject/folder/jsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "allowJs": true, + "maxNodeModuleJsDepth": 2, + "allowSyntheticDefaultImports": true, + "skipLibCheck": true, + "noEmit": true, + "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" + } +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/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/folder/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/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-6-0 "let y = 1" @@ -5214,14 +5263,34 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' commonFile2.ts - Root file specified for compilation + 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": "/user/username/projects/myproject/folder/jsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/folder/jsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -5229,7 +5298,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject7* +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -5246,12 +5315,8 @@ After request PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/tsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -5264,7 +5329,7 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject7* (Inferred) *new* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false @@ -5278,7 +5343,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject7* *new* + /user/username/projects/myproject/folder/jsconfig.json *new* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 @@ -5286,7 +5351,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-6-0 containingProjects: 1 - /dev/null/inferredProject7* *default* + /user/username/projects/myproject/folder/jsconfig.json *default* Before request @@ -5299,15 +5364,12 @@ Info seq [hh:mm:ss:mss] request: "seq": 41, "type": "request" } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/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/tsconfig.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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -5332,30 +5394,21 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -PolledWatches *deleted*:: -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/tsconfig.json: - {"pollingInterval":2000} - FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} -/user/username/projects/myproject/folder/tsconfig.json: - {} - -FsWatches *deleted*:: /user/username/projects/myproject/folder/jsconfig.json: {} +/user/username/projects/myproject/folder/tsconfig.json: + {} Projects:: -/dev/null/inferredProject7* (Inferred) *changed* - projectStateVersion: 2 *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* + projectStateVersion: 1 projectProgramVersion: 1 - dirty: true *changed* - isOrphan: true *changed* + noOpenRef: true *changed* autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 @@ -5367,7 +5420,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject7* + /user/username/projects/myproject/folder/jsconfig.json /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 @@ -5375,8 +5428,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-6-0 - containingProjects: 0 *changed* - /dev/null/inferredProject7* *deleted* + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json Before request @@ -5391,16 +5444,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject8*, currentDirectory: /user/username/projects/random +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject7*, currentDirectory: /user/username/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject8* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* 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/inferredProject8* WatchType: Type roots -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] Starting updateGraphWorker: Project: /dev/null/inferredProject7* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* 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/inferredProject7* WatchType: Type roots +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 (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/projects/random/random.ts SVC-10-0 "export const y = 10;" @@ -5413,7 +5466,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts @@ -5422,21 +5475,22 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' commonFile2.ts - Root file specified for compilation + Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject8*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -5444,7 +5498,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject8* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject7* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -5481,19 +5535,20 @@ FsWatches:: FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile2.ts: {} +/user/username/projects/myproject/folder/jsconfig.json: + {} Projects:: -/dev/null/inferredProject7* (Inferred) *deleted* - projectStateVersion: 2 - projectProgramVersion: 1 - dirty: true - isClosed: true *changed* - isOrphan: true - autoImportProviderHost: undefined *changed* -/dev/null/inferredProject8* (Inferred) *new* +/dev/null/inferredProject7* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false +/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -5504,16 +5559,17 @@ ScriptInfos:: version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject8* *new* - /dev/null/inferredProject7* *deleted* + /dev/null/inferredProject7* *new* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-6-0 - containingProjects: 0 + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-10-0 containingProjects: 1 - /dev/null/inferredProject8* *default* + /dev/null/inferredProject7* *default* 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 8a441df017098..14a304a47f659 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 @@ -234,6 +234,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 eb5b80c700f34..98d8978cffaa5 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 @@ -234,6 +234,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 c89a1db31be3a..7024fa1775ba4 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 @@ -228,6 +228,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 2faa0c8e4be93..40aa83d4e7644 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 @@ -229,6 +229,7 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project 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 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 f6b4c4c3efbee..25f01425543b0 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 @@ -228,6 +228,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 27eca71976228..94ab0b0a27aec 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 @@ -229,6 +229,7 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project 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 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 b517af1d982b4..a806aaef56c55 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 @@ -150,6 +150,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root 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 0ec29a007462c..d1f92fe938012 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 @@ -143,6 +143,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root 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 4bd66851cc07d..d535579c97ce5 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 @@ -232,6 +232,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 b814c87b6e311..23246a38b840b 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 @@ -144,6 +144,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject/src/server 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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root 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 2c0fb303760cf..f6275707f342f 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 @@ -915,6 +915,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/foo/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/foo/lib/index.d.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/foo/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/foo/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/bar/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) 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 64e076d0ee107..062620a3b262d 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 @@ -202,6 +202,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root 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 7c5220ae1cb76..df729e2ef1916 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 @@ -213,6 +213,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 05a683ed23853..0d09647ae0c7f 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 @@ -238,6 +238,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/javascript.js 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/javascript.js ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js index ea15ed4ecb29a..b6c7446eed0d7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js @@ -138,10 +138,14 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +<<<<<<< HEAD Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/common Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +======= +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /common/tsconfig.json ProjectRootPath: undefined:: Result: undefined +>>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js index 2c0ee87409109..a30653ec6b5ef 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js @@ -302,12 +302,16 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +<<<<<<< HEAD Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +======= +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined +>>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js index 8d43136688aa8..2698d8f274a58 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js @@ -302,12 +302,16 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +<<<<<<< HEAD Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +======= +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined +>>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js index c7938638edc54..e57a2403f1e2a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js @@ -140,10 +140,14 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +<<<<<<< HEAD Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/common Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +======= +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /common/tsconfig.json ProjectRootPath: undefined:: Result: undefined +>>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js index e60a6c0553fa5..9a10b4b16c709 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js @@ -302,12 +302,16 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +<<<<<<< HEAD Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +======= +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined +>>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js index f0593d53689b6..fb54ce0814c17 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js @@ -274,12 +274,16 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +<<<<<<< HEAD Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +======= +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined +>>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js index 472d567be44eb..56495a876b176 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js @@ -274,12 +274,16 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +<<<<<<< HEAD Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +======= +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined +>>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js index 4a781e7eabded..daf4de3c53499 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js @@ -265,12 +265,16 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +<<<<<<< HEAD Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +======= +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined +>>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js index f55717ff683a4..f46db69af7f57 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js @@ -254,6 +254,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index ffa3142caf21e..f681076873d55 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -359,6 +359,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js index 186ddc14f28df..d026f46e1d045 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js @@ -150,6 +150,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js index 9180a0a8cc39f..b6c11384efff4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js @@ -150,6 +150,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js index 7a93a0303d939..c14aa0b24dcec 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js @@ -170,6 +170,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js index 08def8da7b8c1..4ea66502fcd57 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -137,6 +137,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js index ce2cba7e8aa8c..3a75978fdef72 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -163,6 +163,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js index c1a65f8d9c6ba..3c21842393dbb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js @@ -166,6 +166,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js index 3af8561396304..d871ae8bb0873 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -195,6 +195,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js index fd5e206412fab..8f50e67bc1efb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -204,6 +204,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js index 7f886f2eb92f2..1703c78d66b92 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js @@ -188,6 +188,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js index f16a8ed47ad02..a0cb52cf1e1ca 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js @@ -191,6 +191,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js index 12cfdf368cb5b..b2942a846aa3c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js @@ -181,6 +181,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js index 1b0081e87bcd6..7ec7a3c5ca672 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js @@ -175,6 +175,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js index 10af122a9b088..c13f53a0a646e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js @@ -163,6 +163,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js index bd4ff2bf377fa..bd9068697ef48 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js @@ -163,6 +163,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js index 006f449b06d72..ae2a83946cc5d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js @@ -166,6 +166,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js index 259c483cdb369..aba05011b1cdd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js @@ -182,6 +182,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js index 6ea03694a990f..5b702f4b27760 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js @@ -113,6 +113,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js index 9426dc3879742..6fdddf89223e8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js @@ -137,6 +137,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index 208e72b0af2cc..b8c6800dd4662 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -129,6 +129,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js index 795a3a485789e..7529335209a78 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js @@ -180,6 +180,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js index ffcc87eccb44c..ecfc9459a1d3e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -147,6 +147,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js index 064cb004995c8..c691e101c4566 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -141,6 +141,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js index e95923afffba3..6b25c070f305d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js @@ -128,6 +128,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js index 574cfee0de598..edbfc9381d8f1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -132,6 +132,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js index 323c382593596..8ae9345baecf6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js @@ -128,6 +128,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js index f2ef4bd98d197..200ecdb0a4e26 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js @@ -119,6 +119,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js index 180634ebddc5b..2e0fbda9cbef1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js @@ -161,6 +161,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js index 001a45b1cc32a..e1a9643c90f2f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js +++ b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js @@ -118,6 +118,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js index dc19a23822143..8d920a7db3682 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js @@ -171,6 +171,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* @@ -434,6 +435,7 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/mymodule.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js index a836c758e88dc..1209c0973a3c0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js @@ -173,6 +173,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* @@ -436,6 +437,7 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/mymodule.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js index 7594be8aef360..0f0a0ca4ea11d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js @@ -169,6 +169,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* @@ -432,6 +433,7 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/mymodule.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js index e573902037323..28e5f1021f5a2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js @@ -176,6 +176,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* @@ -444,6 +445,7 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/mymodule.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js index 4fc71d2a08943..fc1b45f468d7e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js @@ -186,6 +186,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* @@ -449,6 +450,7 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/mymodule.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js index fc1bd2fb9a08f..7385321a16839 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js @@ -328,6 +328,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js index 78896fd1ce55e..1e297292da1b6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js @@ -130,6 +130,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index 7aafbdee5ea96..6fc787b3879fc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -391,6 +391,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js index e706d71ee2b7f..8b3e77cf1279f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js @@ -134,6 +134,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js index 9a60841dfe357..08bba09b5e624 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js +++ b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js @@ -149,6 +149,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js b/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js index 4bddbbd0a5bd0..994fe53556c0e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js @@ -118,6 +118,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js index 1b93e87ba600e..e2829c6d13036 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js @@ -159,6 +159,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/apps/app1/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/apps/app1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/apps/app1/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/apps/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js index 0fd8694ecf6e4..d4ea52d1a0303 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js @@ -121,6 +121,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js index 76b506b5ab1fa..156e5cbb1c952 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js @@ -121,6 +121,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js index 1704770da2598..42c3c048c6a08 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -135,6 +135,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js index 25b62629171c0..7f1830fa6512e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js @@ -106,6 +106,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js index 2bd94db92d0ba..7d59edf181a53 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js @@ -145,6 +145,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js index 3a9fbadf0e7ba..659f28d2af6dd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js @@ -120,6 +120,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js index 5fa9169d042a1..6e5af48128241 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js @@ -132,6 +132,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/jsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js index 99a7ca56dd471..8ff664d6afef0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -125,6 +125,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js index 1d26309ef8eb8..36ce668c9a12f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js @@ -118,6 +118,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js index bec2c59489339..7ac8483b02832 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js @@ -118,6 +118,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js index 316ef55fa4cc3..fab391f7d4fec 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js @@ -117,6 +117,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js index 21a2d9b5255a4..4df8976066882 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js @@ -117,6 +117,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js index c575c7be24eea..75b7728fc4dbb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js @@ -182,6 +182,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js index 43766f5c4d27a..59de237438c7e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js @@ -115,6 +115,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js index b319d0bd7aef2..144a40e20f0bc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js @@ -115,6 +115,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js index 6ad014d4852c2..f0a21cc4ab6bd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js @@ -117,9 +117,97 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/lib/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/lib/tsconfig.json to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/lib/index.ts", + "/home/src/workspaces/project/src/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/index.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /home/src/workspaces/project/lib/index.ts Text-1 "const unrelatedLocalVariable = 123;\nexport const someExportedVariable = unrelatedLocalVariable;" + /home/src/workspaces/project/src/index.ts Text-1 "import { someExportedVariable } from '../lib/index';\nsomeExportedVariable;" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + lib/index.ts + Matched by default include pattern '**/*' + Imported via '../lib/index' from file 'src/index.ts' + src/index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/workspaces/project/lib/tsconfig.json", + "configFile": "/home/src/workspaces/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/workspaces/project/lib/tsconfig.json", + "configFile": "/home/src/workspaces/project/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/lib Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -156,6 +244,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -191,6 +283,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/lib/tsconfig.json: *new* {"pollingInterval":2000} +/home/src/workspaces/project/src/index.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} @@ -198,9 +292,13 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} {} + {} /home/src/workspaces/node_modules/@types: *new* {} {} + {} +/home/src/workspaces/project: *new* + {} /home/src/workspaces/project/lib: *new* {} /home/src/workspaces/project/lib/node_modules: *new* @@ -212,9 +310,11 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/node_modules: *new* {} {} + {} /home/src/workspaces/project/node_modules/@types: *new* {} {} + {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -225,31 +325,43 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true +/home/src/workspaces/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 3 /home/src/workspaces/project/lib/tsconfig.json + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 3 /home/src/workspaces/project/lib/tsconfig.json + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 3 /home/src/workspaces/project/lib/tsconfig.json + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/lib/index.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/lib/tsconfig.json + /home/src/workspaces/project/tsconfig.json /home/src/workspaces/project/lib/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* +/home/src/workspaces/project/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -262,6 +374,40 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/lib/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/lib/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/lib/tsconfig.json +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.decorators.d.ts + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + /home/src/workspaces/project/lib/index.ts + /home/src/workspaces/project/src/index.ts + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + lib/index.ts + Matched by default include pattern '**/*' + Imported via '../lib/index' from file 'src/index.ts' + src/index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -303,6 +449,8 @@ watchedFiles:: watchedFiles *deleted*:: /home/src/workspaces/project/lib/index.ts: {"pollingInterval":500} +/home/src/workspaces/project/src/index.ts: + {"pollingInterval":500} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: @@ -326,6 +474,18 @@ watchedDirectoriesRecursive:: {} {} +watchedDirectoriesRecursive *deleted*:: +/home/src/workspaces/node_modules: + {} +/home/src/workspaces/node_modules/@types: + {} +/home/src/workspaces/project: + {} +/home/src/workspaces/project/node_modules: + {} +/home/src/workspaces/project/node_modules/@types: + {} + Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 @@ -335,32 +495,45 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* +/home/src/workspaces/project/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 + containingProjects: 2 *changed* /home/src/workspaces/project/lib/tsconfig.json /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.decorators.d.ts + /home/src/workspaces/project/tsconfig.json *deleted* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 - containingProjects: 2 + containingProjects: 2 *changed* /home/src/workspaces/project/lib/tsconfig.json /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + /home/src/workspaces/project/tsconfig.json *deleted* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 - containingProjects: 2 + containingProjects: 2 *changed* /home/src/workspaces/project/lib/tsconfig.json /dev/null/inferredProject1* + /home/src/workspaces/project/tsconfig.json *deleted* /home/src/workspaces/project/lib/index.ts (Open) *changed* open: true *changed* version: Text-1 - containingProjects: 1 + containingProjects: 1 *changed* /home/src/workspaces/project/lib/tsconfig.json *default* + /home/src/workspaces/project/tsconfig.json *deleted* /home/src/workspaces/project/lib/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* +/home/src/workspaces/project/src/index.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /home/src/workspaces/project/tsconfig.json *deleted* Info seq [hh:mm:ss:mss] request: { @@ -414,7 +587,7 @@ Info seq [hh:mm:ss:mss] Files (5) /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/lib/index.ts Text-1 "const unrelatedLocalVariable = 123;\nexport const someExportedVariable = unrelatedLocalVariable;" - /home/src/workspaces/project/src/index.ts SVC-1-0 "import { someExportedVariable } from '../lib/index';\nsomeExportedVariable;" + /home/src/workspaces/project/src/index.ts SVC-2-0 "import { someExportedVariable } from '../lib/index';\nsomeExportedVariable;" ../../../tslibs/TS/Lib/lib.d.ts @@ -572,7 +745,7 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* /home/src/workspaces/project/src/index.ts (Open) *new* - version: SVC-1-0 + version: SVC-2-0 containingProjects: 1 /home/src/workspaces/project/src/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js index 12778d87bbb0e..452bb8938e345 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js @@ -117,9 +117,97 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/lib/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/lib/tsconfig.json to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/lib/index.ts", + "/home/src/workspaces/project/src/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/index.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /home/src/workspaces/project/lib/index.ts Text-1 "const unrelatedLocalVariable = 123;\nexport const someExportedVariable = unrelatedLocalVariable;" + /home/src/workspaces/project/src/index.ts Text-1 "import * as lib from '../lib/index';\nlib.someExportedVariable;" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + lib/index.ts + Matched by default include pattern '**/*' + Imported via '../lib/index' from file 'src/index.ts' + src/index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/workspaces/project/lib/tsconfig.json", + "configFile": "/home/src/workspaces/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/workspaces/project/lib/tsconfig.json", + "configFile": "/home/src/workspaces/project/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/lib Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -156,6 +244,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -191,6 +283,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/lib/tsconfig.json: *new* {"pollingInterval":2000} +/home/src/workspaces/project/src/index.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} @@ -198,9 +292,13 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} {} + {} /home/src/workspaces/node_modules/@types: *new* {} {} + {} +/home/src/workspaces/project: *new* + {} /home/src/workspaces/project/lib: *new* {} /home/src/workspaces/project/lib/node_modules: *new* @@ -212,9 +310,11 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/node_modules: *new* {} {} + {} /home/src/workspaces/project/node_modules/@types: *new* {} {} + {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -225,31 +325,43 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true +/home/src/workspaces/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 3 /home/src/workspaces/project/lib/tsconfig.json + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 3 /home/src/workspaces/project/lib/tsconfig.json + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 3 /home/src/workspaces/project/lib/tsconfig.json + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/lib/index.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/lib/tsconfig.json + /home/src/workspaces/project/tsconfig.json /home/src/workspaces/project/lib/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* +/home/src/workspaces/project/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -262,6 +374,40 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/lib/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/lib/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/lib/tsconfig.json +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.decorators.d.ts + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + /home/src/workspaces/project/lib/index.ts + /home/src/workspaces/project/src/index.ts + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + lib/index.ts + Matched by default include pattern '**/*' + Imported via '../lib/index' from file 'src/index.ts' + src/index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -303,6 +449,8 @@ watchedFiles:: watchedFiles *deleted*:: /home/src/workspaces/project/lib/index.ts: {"pollingInterval":500} +/home/src/workspaces/project/src/index.ts: + {"pollingInterval":500} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: @@ -326,6 +474,18 @@ watchedDirectoriesRecursive:: {} {} +watchedDirectoriesRecursive *deleted*:: +/home/src/workspaces/node_modules: + {} +/home/src/workspaces/node_modules/@types: + {} +/home/src/workspaces/project: + {} +/home/src/workspaces/project/node_modules: + {} +/home/src/workspaces/project/node_modules/@types: + {} + Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 @@ -335,32 +495,45 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* +/home/src/workspaces/project/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 + containingProjects: 2 *changed* /home/src/workspaces/project/lib/tsconfig.json /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.decorators.d.ts + /home/src/workspaces/project/tsconfig.json *deleted* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 - containingProjects: 2 + containingProjects: 2 *changed* /home/src/workspaces/project/lib/tsconfig.json /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + /home/src/workspaces/project/tsconfig.json *deleted* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 - containingProjects: 2 + containingProjects: 2 *changed* /home/src/workspaces/project/lib/tsconfig.json /dev/null/inferredProject1* + /home/src/workspaces/project/tsconfig.json *deleted* /home/src/workspaces/project/lib/index.ts (Open) *changed* open: true *changed* version: Text-1 - containingProjects: 1 + containingProjects: 1 *changed* /home/src/workspaces/project/lib/tsconfig.json *default* + /home/src/workspaces/project/tsconfig.json *deleted* /home/src/workspaces/project/lib/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* +/home/src/workspaces/project/src/index.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /home/src/workspaces/project/tsconfig.json *deleted* Info seq [hh:mm:ss:mss] request: { @@ -414,7 +587,7 @@ Info seq [hh:mm:ss:mss] Files (5) /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/lib/index.ts Text-1 "const unrelatedLocalVariable = 123;\nexport const someExportedVariable = unrelatedLocalVariable;" - /home/src/workspaces/project/src/index.ts SVC-1-0 "import * as lib from '../lib/index';\nlib.someExportedVariable;" + /home/src/workspaces/project/src/index.ts SVC-2-0 "import * as lib from '../lib/index';\nlib.someExportedVariable;" ../../../tslibs/TS/Lib/lib.d.ts @@ -572,7 +745,7 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* /home/src/workspaces/project/src/index.ts (Open) *new* - version: SVC-1-0 + version: SVC-2-0 containingProjects: 1 /home/src/workspaces/project/src/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js index fea177caf2a68..3e05260de3d9b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js @@ -175,6 +175,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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* diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js index 127e224bcc9a7..9a35d8f25830c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js @@ -138,6 +138,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/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* 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 db60f715fff89..04e0459a14dcf 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 @@ -239,6 +239,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/c.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js b/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js index 0db0c8dd5ede8..42935252edb44 100644 --- a/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js +++ b/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js @@ -180,6 +180,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspace/projects/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/workspace/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspace/projects/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* 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 b44d668598392..321cbeb7554fa 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 @@ -144,6 +144,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject 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* @@ -484,6 +485,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/jsFile2.js 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/jsFile2.js Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/jsFile2.js ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -693,6 +695,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/jsFile1.js 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/jsFile1.js Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/jsFile1.js ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 fbaac6e3751e9..ba9d766259fd5 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 @@ -129,6 +129,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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* 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 dacff12a640c5..fc673033965d4 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 @@ -145,6 +145,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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* 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 a4779d603dfb7..19c8a4a52996c 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 @@ -145,6 +145,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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* 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 801b5f417f3d8..3de8d1ebc42c8 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js @@ -132,6 +132,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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* 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 7806eb36c7570..18f20eb1b2d26 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 @@ -132,6 +132,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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* 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 dfa5b22a6e140..c942db79f7fca 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 @@ -175,6 +175,7 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -384,6 +385,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/test2.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 6087de7bc3767..5deccf894f31f 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 @@ -148,6 +148,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -357,6 +358,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/test2.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 487d72d9eace4..e3f3e84269e3c 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 @@ -362,6 +362,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-indirect1.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -1120,6 +1121,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-indirect1.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -1380,6 +1382,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-indirect1.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots 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 b523b3ba192dd..bc4a54577db6c 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 @@ -222,6 +222,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -888,6 +889,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject3*, currentDirectory: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1099,6 +1101,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots 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 e6a2de8b4e70b..15c27cbe6bccf 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 @@ -397,6 +397,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -1242,6 +1243,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -1537,6 +1539,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots 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 d16877116d7ee..5abd99a202e0b 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 @@ -254,6 +254,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -899,6 +900,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -1092,6 +1094,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js index 51ae899bbf70b..ff2985af6198a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js @@ -207,47 +207,271 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] 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] 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 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 3, + "tsSize": 141, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 107, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "composite": true, + "rootDir": "", + "outDir": "", + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -262,19 +486,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules: *new* +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -284,48 +500,69 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} +/home/src/projects/project/demos/helpers.ts: *new* + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: +/home/src/projects/project: *new* + {} /home/src/projects/project/app: *new* {} +/home/src/projects/project/demos: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* +/home/src/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *new* version: Text-1 containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 /home/src/projects/project/app/tsconfig.json - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 +Before running Timeout callback:: count: 3 1: /home/src/projects/project/app/tsconfig.json -2: *ensureProjectForOpenFiles* +2: /home/src/projects/project/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -341,20 +578,25 @@ Before running Timeout callback:: count: 2 } -Timeout callback:: count: 2 +Timeout callback:: count: 3 1: /home/src/projects/project/app/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +2: /home/src/projects/project/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 dirty: true *changed* - noOpenRef: false *changed* + autoImportProviderHost: false Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -404,31 +646,78 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [ + { + "start": { + "line": 9, + "offset": 5 + }, + "end": { + "line": 11, + "offset": 6 + }, + "text": "Referenced project '/home/src/projects/project/app/tsconfig.json' must have setting \"composite\": true.", + "code": 6306, + "category": "error", + "fileName": "/home/src/projects/project/tsconfig.json" + } + ] + } + } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -444,21 +733,25 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 - projectProgramVersion: 1 + projectProgramVersion: 2 *changed* dirty: false *changed* - noOpenRef: true *changed* + autoImportProviderHost: false Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -572,39 +865,25 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/projects/project/app/Component.ts - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.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] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -621,19 +900,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -641,8 +912,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* @@ -650,28 +927,28 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -FsWatches *deleted*:: -/home/src/projects/project/app/Component.ts: - {} - FsWatchesRecursive:: -/home/src/projects/random: *new* +/home/src/projects/project: {} - -FsWatchesRecursive *deleted*:: /home/src/projects/project/app: {} +/home/src/projects/project/demos: + {} +/home/src/projects/random: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *deleted* +/home/src/projects/project/tsconfig.json (Configured) projectStateVersion: 2 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true + projectProgramVersion: 2 + autoImportProviderHost: false /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -680,22 +957,30 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* + containingProjects: 4 *changed* + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* - /home/src/projects/project/app/tsconfig.json *deleted* Before request @@ -709,17 +994,25 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -731,19 +1024,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -751,8 +1036,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -763,14 +1054,27 @@ FsWatches:: {} FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + autoImportProviderHost: false /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -780,8 +1084,19 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -789,24 +1104,27 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 4 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -3: /home/src/projects/project/app/tsconfig.json -4: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 3 +4: /home/src/projects/project/app/tsconfig.json +5: /home/src/projects/project/tsconfig.json +6: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -822,20 +1140,25 @@ Before running Timeout callback:: count: 2 } -Timeout callback:: count: 2 -3: /home/src/projects/project/app/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 3 +4: /home/src/projects/project/app/tsconfig.json *new* +5: /home/src/projects/project/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + autoImportProviderHost: false /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -850,7 +1173,7 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Change in config file /home/src/projects/project/app/tsconfig.json detected, Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + "reason": "Change in config file detected" } } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { @@ -863,27 +1186,12 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : "configFilePath": "/home/src/projects/project/app/tsconfig.json" } } -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-2 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -906,39 +1214,71 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/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] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.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] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -953,85 +1293,28 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} -/home/src/projects/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: - {"pollingInterval":500} -/home/src/projects/project/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/random/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/projects/project/app/Component.ts: *new* - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} -/home/src/projects/random/random.ts: - {} -/home/src/projects/random/tsconfig.json: - {} -/home/src/tslibs/TS/Lib/lib.d.ts: - {} - -FsWatchesRecursive:: -/home/src/projects/project/app: *new* - {} -/home/src/projects/random: - {} - Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* dirty: false *changed* - initialLoadPending: false *changed* - noOpenRef: true *changed* + autoImportProviderHost: false /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true autoImportProviderHost: false -ScriptInfos:: -/home/src/projects/project/app/Component-demos.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *new* - version: Text-2 - containingProjects: 1 - /home/src/projects/project/app/tsconfig.json -/home/src/projects/random/random.ts - version: SVC-1-0 - containingProjects: 1 - /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* - version: Text-1 - containingProjects: 3 *changed* - /dev/null/inferredProject1* - /home/src/projects/random/tsconfig.json - /home/src/projects/project/app/tsconfig.json *new* - Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js index a49954387fe0c..9bb59aca888b4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js @@ -207,47 +207,271 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] 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] 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 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 3, + "tsSize": 141, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 107, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "composite": true, + "rootDir": "", + "outDir": "", + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -262,19 +486,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules: *new* +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -284,48 +500,69 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} +/home/src/projects/project/demos/helpers.ts: *new* + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: +/home/src/projects/project: *new* + {} /home/src/projects/project/app: *new* {} +/home/src/projects/project/demos: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* +/home/src/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *new* version: Text-1 containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 /home/src/projects/project/app/tsconfig.json - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 +Before running Timeout callback:: count: 3 1: /home/src/projects/project/app/tsconfig.json -2: *ensureProjectForOpenFiles* +2: /home/src/projects/project/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -341,20 +578,25 @@ Before running Timeout callback:: count: 2 } -Timeout callback:: count: 2 +Timeout callback:: count: 3 1: /home/src/projects/project/app/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +2: /home/src/projects/project/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 dirty: true *changed* - noOpenRef: false *changed* + autoImportProviderHost: false Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -404,31 +646,78 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [ + { + "start": { + "line": 9, + "offset": 5 + }, + "end": { + "line": 11, + "offset": 6 + }, + "text": "Referenced project '/home/src/projects/project/app/tsconfig.json' must have setting \"composite\": true.", + "code": 6306, + "category": "error", + "fileName": "/home/src/projects/project/tsconfig.json" + } + ] + } + } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -444,29 +733,35 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 - projectProgramVersion: 1 + projectProgramVersion: 2 *changed* dirty: false *changed* - noOpenRef: true *changed* + autoImportProviderHost: false Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -3: /home/src/projects/project/app/tsconfig.json -4: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 3 +4: /home/src/projects/project/app/tsconfig.json +5: /home/src/projects/project/tsconfig.json +6: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -482,20 +777,25 @@ Before running Timeout callback:: count: 2 } -Timeout callback:: count: 2 -3: /home/src/projects/project/app/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 3 +4: /home/src/projects/project/app/tsconfig.json *new* +5: /home/src/projects/project/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* - projectProgramVersion: 1 + projectProgramVersion: 2 dirty: true *changed* - noOpenRef: false *changed* + autoImportProviderHost: false Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -546,31 +846,63 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -586,21 +918,25 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 - projectProgramVersion: 1 + projectProgramVersion: 3 *changed* dirty: false *changed* - noOpenRef: true *changed* + autoImportProviderHost: false Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -714,39 +1050,25 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/projects/project/app/Component.ts - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/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] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -763,19 +1085,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -783,8 +1097,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* @@ -792,28 +1112,28 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -FsWatches *deleted*:: -/home/src/projects/project/app/Component.ts: - {} - FsWatchesRecursive:: -/home/src/projects/random: *new* +/home/src/projects/project: {} - -FsWatchesRecursive *deleted*:: /home/src/projects/project/app: {} +/home/src/projects/project/demos: + {} +/home/src/projects/random: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 3 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *deleted* +/home/src/projects/project/tsconfig.json (Configured) projectStateVersion: 3 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true + projectProgramVersion: 3 + autoImportProviderHost: false /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -822,22 +1142,30 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* + containingProjects: 4 *changed* + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* - /home/src/projects/project/app/tsconfig.json *deleted* Before request @@ -851,17 +1179,25 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -873,19 +1209,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -893,8 +1221,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -905,14 +1239,27 @@ FsWatches:: {} FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 3 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 3 + projectProgramVersion: 3 + autoImportProviderHost: false /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -922,8 +1269,19 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -931,12 +1289,14 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 4 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js index 6723830c75a6d..6a3153e00cd1e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js @@ -207,47 +207,271 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] 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] 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 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 3, + "tsSize": 141, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 107, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "composite": true, + "rootDir": "", + "outDir": "", + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -262,19 +486,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules: *new* +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -282,69 +498,315 @@ PolledWatches:: FsWatches:: /home/src/projects/project/app/Component.ts: *new* {} -/home/src/projects/project/app/tsconfig.json: *new* +/home/src/projects/project/app/tsconfig.json: *new* + {} +/home/src/projects/project/demos/helpers.ts: *new* + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} +/home/src/projects/project/tsconfig.json: *new* + {} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {} + +FsWatchesRecursive:: +/home/src/projects/project: *new* + {} +/home/src/projects/project/app: *new* + {} +/home/src/projects/project/demos: *new* + {} + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/home/src/projects/project/app/Component-demos.ts (Open) *new* + version: SVC-1-0 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts *new* + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *new* + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json + +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 3 +1: /home/src/projects/project/tsconfig.json +2: /home/src/projects/project/demos/tsconfig.json +3: *ensureProjectForOpenFiles* +//// [/home/src/projects/project/demos/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "rootDir": "../", + "outDir": "../demos-dist/", + "paths": { + "demos/*": [ + "./*" + ] + } + }, + "include": [ + "**/*", + + ] +} + + +Timeout callback:: count: 3 +1: /home/src/projects/project/tsconfig.json *new* +2: /home/src/projects/project/demos/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + autoImportProviderHost: undefined *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + autoImportProviderHost: false + +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 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/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/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/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +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 projectStateVersion: 2 projectProgramVersion: 1 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + + + ../../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/demos/tsconfig.json", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/projects/project/app/Component-demos.ts" + ] + } + } +After running Timeout callback:: count: 0 + +PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/node_modules: *new* + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: {} -/home/src/projects/project/tsconfig.json: *new* +/home/src/projects/project/demos/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/projects/project/tsconfig.json: + {} +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: -/home/src/projects/project/app: *new* +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: -/home/src/projects/project/app/Component-demos.ts (Open) *new* +/home/src/projects/project/app/Component-demos.ts (Open) *changed* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *new* + containingProjects: 1 *changed* + /home/src/projects/project/tsconfig.json *default* + /home/src/projects/project/demos/tsconfig.json *deleted* +/home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts version: Text-1 containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 3 /home/src/projects/project/app/tsconfig.json - /dev/null/inferredProject1* - -Before running Timeout callback:: count: 0 -//// [/home/src/projects/project/demos/tsconfig.json] -{ - "compilerOptions": { - "composite": true, - "rootDir": "../", - "outDir": "../demos-dist/", - "paths": { - "demos/*": [ - "./*" - ] - } - }, - "include": [ - "**/*", - - ] -} - - -After running Timeout callback:: count: 0 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -458,39 +920,25 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/projects/project/app/Component.ts - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.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] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -511,14 +959,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -527,8 +971,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* @@ -536,28 +986,27 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -FsWatches *deleted*:: -/home/src/projects/project/app/Component.ts: - {} - FsWatchesRecursive:: -/home/src/projects/random: *new* +/home/src/projects/project: {} - -FsWatchesRecursive *deleted*:: /home/src/projects/project/app: {} +/home/src/projects/project/demos: + {} +/home/src/projects/random: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -567,21 +1016,28 @@ ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *deleted* + /home/src/projects/project/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* + containingProjects: 4 *changed* + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* - /home/src/projects/project/app/tsconfig.json *deleted* Before request @@ -595,17 +1051,25 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.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] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -621,14 +1085,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -637,8 +1097,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -649,13 +1115,25 @@ FsWatches:: {} FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 autoImportProviderHost: false /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 @@ -667,7 +1145,17 @@ ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject1* *default* + /home/src/projects/project/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -675,16 +1163,26 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 4 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json findDefaultConfiguredProject: - undefined -Before running Timeout callback:: count: 0 + /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 3 +4: /home/src/projects/project/tsconfig.json +5: /home/src/projects/project/demos/tsconfig.json +6: *ensureProjectForOpenFiles* //// [/home/src/projects/project/demos/tsconfig.json] { "compilerOptions": { @@ -704,10 +1202,266 @@ Before running Timeout callback:: count: 0 } +Timeout callback:: count: 3 +4: /home/src/projects/project/tsconfig.json *new* +5: /home/src/projects/project/demos/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + autoImportProviderHost: false +/home/src/projects/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + autoImportProviderHost: false + +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 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/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/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/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +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 projectStateVersion: 3 projectProgramVersion: 2 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + + + ../../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/demos/tsconfig.json", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/projects/project/app/Component-demos.ts" + ] + } + } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/random/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/home/src/projects/node_modules: + {"pollingInterval":500} +/home/src/projects/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} +/home/src/projects/random/random.ts: + {} +/home/src/projects/random/tsconfig.json: + {} +/home/src/tslibs/TS/Lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} +/home/src/projects/random: + {} + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + dirty: false *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + dirty: false *changed* + autoImportProviderHost: false +/home/src/projects/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + autoImportProviderHost: false + +ScriptInfos:: +/home/src/projects/project/app/Component-demos.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* *new* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/projects/random/random.ts + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/random/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 4 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json + /home/src/projects/random/tsconfig.json + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js index 44f31e97d974f..30e27013e0eaa 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js @@ -207,47 +207,271 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] 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] 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 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 3, + "tsSize": 141, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 107, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "composite": true, + "rootDir": "", + "outDir": "", + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -262,19 +486,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules: *new* +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -284,41 +500,68 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} +/home/src/projects/project/demos/helpers.ts: *new* + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: +/home/src/projects/project: *new* + {} /home/src/projects/project/app: *new* {} +/home/src/projects/project/demos: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* +/home/src/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *new* version: Text-1 containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 /home/src/projects/project/app/tsconfig.json - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json -Before running Timeout callback:: count: 0 +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 3 +1: /home/src/projects/project/tsconfig.json +2: /home/src/projects/project/demos/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/home/src/projects/project/demos/tsconfig.json] { "compilerOptions": { @@ -338,14 +581,241 @@ Before running Timeout callback:: count: 0 } +Timeout callback:: count: 3 +1: /home/src/projects/project/tsconfig.json *new* +2: /home/src/projects/project/demos/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + autoImportProviderHost: undefined *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + autoImportProviderHost: false + +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 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/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/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/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +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 projectStateVersion: 2 projectProgramVersion: 1 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + + + ../../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/demos/tsconfig.json", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/projects/project/app/Component-demos.ts" + ] + } + } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/node_modules: *new* + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} +/home/src/tslibs/TS/Lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + autoImportProviderHost: false + +ScriptInfos:: +/home/src/projects/project/app/Component-demos.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /home/src/projects/project/tsconfig.json *default* + /home/src/projects/project/demos/tsconfig.json *deleted* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json findDefaultConfiguredProject: - undefined -Before running Timeout callback:: count: 0 + /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 3 +4: /home/src/projects/project/tsconfig.json +5: /home/src/projects/project/demos/tsconfig.json +6: *ensureProjectForOpenFiles* //// [/home/src/projects/project/demos/tsconfig.json] { "compilerOptions": { @@ -365,13 +835,238 @@ Before running Timeout callback:: count: 0 } +Timeout callback:: count: 3 +4: /home/src/projects/project/tsconfig.json *new* +5: /home/src/projects/project/demos/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + autoImportProviderHost: false + +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 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/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/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/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +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 projectStateVersion: 3 projectProgramVersion: 2 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + + + ../../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/demos/tsconfig.json", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/projects/project/app/Component-demos.ts" + ] + } + } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/home/src/projects/node_modules: + {"pollingInterval":500} +/home/src/projects/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} +/home/src/tslibs/TS/Lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + dirty: false *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + dirty: false *changed* + autoImportProviderHost: false + +ScriptInfos:: +/home/src/projects/project/app/Component-demos.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* *new* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -485,39 +1180,25 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/projects/project/app/Component.ts - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.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] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -534,19 +1215,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -554,8 +1227,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* @@ -563,28 +1242,27 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -FsWatches *deleted*:: -/home/src/projects/project/app/Component.ts: - {} - FsWatchesRecursive:: -/home/src/projects/random: *new* +/home/src/projects/project: {} - -FsWatchesRecursive *deleted*:: /home/src/projects/project/app: {} +/home/src/projects/project/demos: + {} +/home/src/projects/random: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 3 + projectProgramVersion: 3 +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 3 + projectProgramVersion: 3 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -593,22 +1271,30 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* + containingProjects: 4 *changed* + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* - /home/src/projects/project/app/tsconfig.json *deleted* Before request @@ -622,17 +1308,25 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -644,19 +1338,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -664,8 +1350,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -676,13 +1368,25 @@ FsWatches:: {} FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 3 + projectProgramVersion: 3 +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 3 + projectProgramVersion: 3 autoImportProviderHost: false /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 @@ -693,8 +1397,19 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -702,12 +1417,14 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 4 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js index 5fe16223d4274..a634cf0bba91c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js @@ -207,47 +207,271 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] 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] 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 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 3, + "tsSize": 141, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 107, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "composite": true, + "rootDir": "", + "outDir": "", + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -262,19 +486,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules: *new* +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -284,39 +500,58 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} +/home/src/projects/project/demos/helpers.ts: *new* + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: +/home/src/projects/project: *new* + {} /home/src/projects/project/app: *new* {} +/home/src/projects/project/demos: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* +/home/src/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *new* version: Text-1 containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 /home/src/projects/project/app/tsconfig.json - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json Before request @@ -365,21 +600,7 @@ Info seq [hh:mm:ss:mss] event: "event": "semanticDiag", "body": { "file": "/home/src/projects/project/app/Component-demos.ts", - "diagnostics": [ - { - "start": { - "line": 1, - "offset": 26 - }, - "end": { - "line": 1, - "offset": 41 - }, - "text": "Cannot find module 'demos/helpers' or its corresponding type declarations.", - "code": 2307, - "category": "error" - } - ] + "diagnostics": [] } } After running Immedidate callback:: count: 1 @@ -423,9 +644,9 @@ After running Immedidate callback:: count: 0 Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -539,39 +760,25 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/projects/project/app/Component.ts - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.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] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -588,19 +795,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -608,8 +807,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* @@ -617,28 +822,28 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -FsWatches *deleted*:: -/home/src/projects/project/app/Component.ts: - {} - FsWatchesRecursive:: -/home/src/projects/random: *new* +/home/src/projects/project: {} - -FsWatchesRecursive *deleted*:: /home/src/projects/project/app: {} +/home/src/projects/project/demos: + {} +/home/src/projects/random: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *deleted* +/home/src/projects/project/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true + autoImportProviderHost: false /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -647,22 +852,30 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* + containingProjects: 4 *changed* + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* - /home/src/projects/project/app/tsconfig.json *deleted* Before request @@ -676,17 +889,25 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -698,19 +919,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -718,8 +931,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -730,11 +949,24 @@ FsWatches:: {} FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false @@ -747,8 +979,19 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -756,15 +999,17 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 4 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -776,16 +1021,20 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component-demos.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -801,30 +1050,30 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -PolledWatches *deleted*:: -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} - FsWatches:: /home/src/projects/project/app/Component-demos.ts: *new* {} +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} /home/src/projects/random/random.ts: {} /home/src/projects/random/tsconfig.json: @@ -832,22 +1081,30 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -FsWatches *deleted*:: -/home/src/projects/project/app/tsconfig.json: +FsWatchesRecursive:: +/home/src/projects/project: {} -/home/src/projects/project/tsconfig.json: +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: {} - -FsWatchesRecursive:: /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) *changed* - projectStateVersion: 2 *changed* +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 projectProgramVersion: 1 - dirty: true *changed* - isOrphan: true *changed* + noOpenRef: true *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* autoImportProviderHost: false /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 @@ -859,21 +1116,34 @@ ScriptInfos:: /home/src/projects/project/app/Component-demos.ts *changed* open: false *changed* version: SVC-1-0 - containingProjects: 0 *changed* - /dev/null/inferredProject1* *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 4 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - undefined + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: undefined Before request @@ -890,31 +1160,85 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/projects/project/app/Component.ts + + + ../../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/projects/project/demos/helpers.ts + /home/src/projects/project/app/Component-demos.ts + /home/src/projects/project/app/Component.ts + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/projects/project/demos/helpers.ts /home/src/projects/project/app/Component-demos.ts ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component-demos.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -939,13 +1263,9 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/home/src/projects/node_modules: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -959,6 +1279,16 @@ FsWatches:: FsWatches *deleted*:: /home/src/projects/project/app/Component-demos.ts: {} +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} /home/src/projects/random/random.ts: {} @@ -966,13 +1296,31 @@ FsWatchesRecursive:: /home/src/projects/random: {} +FsWatchesRecursive *deleted*:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} + Projects:: -/dev/null/inferredProject1* (Inferred) *deleted* - projectStateVersion: 2 +/home/src/projects/project/app/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true +/home/src/projects/project/demos/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* +/home/src/projects/project/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 projectProgramVersion: 1 - dirty: true isClosed: true *changed* - isOrphan: true + noOpenRef: true autoImportProviderHost: undefined *changed* /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 @@ -983,7 +1331,19 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts *deleted* version: SVC-1-0 - containingProjects: 0 + containingProjects: 0 *changed* + /home/src/projects/project/tsconfig.json *deleted* + /home/src/projects/project/demos/tsconfig.json *deleted* +/home/src/projects/project/app/Component.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project/app/tsconfig.json *deleted* + /home/src/projects/project/tsconfig.json *deleted* +/home/src/projects/project/demos/helpers.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project/tsconfig.json *deleted* + /home/src/projects/project/demos/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *changed* open: true *changed* version: SVC-1-0 @@ -993,7 +1353,9 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/random/tsconfig.json - /dev/null/inferredProject1* *deleted* + /home/src/projects/project/app/tsconfig.json *deleted* + /home/src/projects/project/tsconfig.json *deleted* + /home/src/projects/project/demos/tsconfig.json *deleted* Before request diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js index 46e6a62345b0a..8609097deaa34 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js @@ -207,47 +207,271 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] 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] 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 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 3, + "tsSize": 141, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 107, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "composite": true, + "rootDir": "", + "outDir": "", + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -262,19 +486,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules: *new* +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -284,39 +500,58 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} +/home/src/projects/project/demos/helpers.ts: *new* + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: +/home/src/projects/project: *new* + {} /home/src/projects/project/app: *new* {} +/home/src/projects/project/demos: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* +/home/src/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *new* version: Text-1 containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 /home/src/projects/project/app/tsconfig.json - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json Before request @@ -328,9 +563,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] reload projects. Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -399,80 +639,214 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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 (0) NoProgram +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] 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] 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 projectStateVersion: 2 projectProgramVersion: 1 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* 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) +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "User requested reload projects: Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/demos/tsconfig.json", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] After reloading projects.. Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -487,29 +861,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} *new* /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} *new* /home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: + {"pollingInterval":500} *new* +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} *new* /home/src/projects/project/node_modules/@types: {"pollingInterval":500} PolledWatches *deleted*:: -/home/src/projects/node_modules: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules: +/home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} FsWatches:: @@ -517,23 +881,34 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: +/home/src/projects/project: + {} /home/src/projects/project/app: {} +/home/src/projects/project/demos: + {} Timeout callback:: count: 0 Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* autoImportProviderHost: undefined *changed* -/home/src/projects/project/app/tsconfig.json (Configured) *changed* +/home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* - noOpenRef: true + autoImportProviderHost: undefined *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js index 050a86f6eb22b..06320321a5e2c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js @@ -207,47 +207,271 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] 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] 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 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 3, + "tsSize": 141, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 107, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "composite": true, + "rootDir": "", + "outDir": "", + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -262,19 +486,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules: *new* +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -284,44 +500,66 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} +/home/src/projects/project/demos/helpers.ts: *new* + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: +/home/src/projects/project: *new* + {} /home/src/projects/project/app: *new* {} +/home/src/projects/project/demos: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* +/home/src/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *new* version: Text-1 containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 /home/src/projects/project/app/tsconfig.json - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] deleted @@ -329,32 +567,55 @@ Before running Timeout callback:: count: 1 Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* *new* -Host is moving to new time +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* + autoImportProviderHost: undefined *changed* + Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -371,7 +632,7 @@ After running Timeout callback:: count: 0 Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: undefined Before request @@ -487,39 +748,25 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/projects/project/app/Component.ts - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.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] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -536,19 +783,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -556,8 +795,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* @@ -565,28 +810,29 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -FsWatches *deleted*:: -/home/src/projects/project/app/Component.ts: - {} - FsWatchesRecursive:: -/home/src/projects/random: *new* +/home/src/projects/project: {} - -FsWatchesRecursive *deleted*:: /home/src/projects/project/app: {} +/home/src/projects/project/demos: + {} +/home/src/projects/random: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *deleted* +/home/src/projects/project/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true + isOrphan: true + deferredClose: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -595,22 +841,30 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* + containingProjects: 4 *changed* + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* - /home/src/projects/project/app/tsconfig.json *deleted* Before request @@ -624,17 +878,25 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -646,19 +908,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -666,8 +920,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -678,14 +938,28 @@ FsWatches:: {} FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -695,8 +969,19 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -704,23 +989,27 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 4 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: undefined -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 -2: /home/src/projects/project/app/tsconfig.json +2: /home/src/projects/project/tsconfig.json 3: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { @@ -739,76 +1028,71 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -2: /home/src/projects/project/app/tsconfig.json *new* +2: /home/src/projects/project/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: false *changed* + deferredClose: undefined *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true autoImportProviderHost: false -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingStart", "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Change in config file /home/src/projects/project/tsconfig.json detected, Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Change in config file detected" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ - "/home/src/projects/project/app/Component.ts" + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" ], "options": { - "composite": true, - "outDir": "/home/src/projects/project/app-dist", - "configFilePath": "/home/src/projects/project/app/tsconfig.json" - } + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] } -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-2 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/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] event: { "seq": 0, "type": "event", "event": "projectLoadingFinish", "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" + "projectName": "/home/src/projects/project/tsconfig.json" } } Info seq [hh:mm:ss:mss] event: @@ -817,44 +1101,54 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/projects/project/app/tsconfig.json", - "configFile": "/home/src/projects/project/app/tsconfig.json", + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", "diagnostics": [] } } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.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] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.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] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -869,85 +1163,26 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} -/home/src/projects/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: - {"pollingInterval":500} -/home/src/projects/project/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/random/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/projects/project/app/Component.ts: *new* - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} -/home/src/projects/random/random.ts: - {} -/home/src/projects/random/tsconfig.json: - {} -/home/src/tslibs/TS/Lib/lib.d.ts: - {} - -FsWatchesRecursive:: -/home/src/projects/project/app: *new* - {} -/home/src/projects/random: - {} - Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 *changed* + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 dirty: false *changed* - initialLoadPending: false *changed* - noOpenRef: true *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true autoImportProviderHost: false -ScriptInfos:: -/home/src/projects/project/app/Component-demos.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *new* - version: Text-2 - containingProjects: 1 - /home/src/projects/project/app/tsconfig.json -/home/src/projects/random/random.ts - version: SVC-1-0 - containingProjects: 1 - /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* - version: Text-1 - containingProjects: 3 *changed* - /dev/null/inferredProject1* - /home/src/projects/random/tsconfig.json - /home/src/projects/project/app/tsconfig.json *new* - Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js index e28f71ef65b66..73f1f8d4263ee 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js @@ -207,47 +207,271 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] 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] 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 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 3, + "tsSize": 141, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 107, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "composite": true, + "rootDir": "", + "outDir": "", + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -262,19 +486,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules: *new* +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -284,44 +500,66 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} +/home/src/projects/project/demos/helpers.ts: *new* + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: +/home/src/projects/project: *new* + {} /home/src/projects/project/app: *new* {} +/home/src/projects/project/demos: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* +/home/src/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *new* version: Text-1 containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 /home/src/projects/project/app/tsconfig.json - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] deleted @@ -329,32 +567,55 @@ Before running Timeout callback:: count: 1 Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* *new* -Host is moving to new time +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* + autoImportProviderHost: undefined *changed* + Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -371,15 +632,20 @@ After running Timeout callback:: count: 0 Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: undefined -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Before running Timeout callback:: count: 1 -2: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Before running Timeout callback:: count: 2 +2: /home/src/projects/project/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { "compilerOptions": { @@ -396,35 +662,115 @@ Before running Timeout callback:: count: 1 } -Timeout callback:: count: 1 -2: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +2: /home/src/projects/project/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* -Host is moving to new time +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: false *changed* + deferredClose: undefined *changed* + +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/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] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -439,11 +785,24 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -557,39 +916,25 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/projects/project/app/Component.ts - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/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] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -606,19 +951,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -626,8 +963,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* @@ -635,28 +978,27 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -FsWatches *deleted*:: -/home/src/projects/project/app/Component.ts: - {} - FsWatchesRecursive:: -/home/src/projects/random: *new* +/home/src/projects/project: {} - -FsWatchesRecursive *deleted*:: /home/src/projects/project/app: {} +/home/src/projects/project/demos: + {} +/home/src/projects/random: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *deleted* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -665,22 +1007,30 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* + containingProjects: 4 *changed* + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* - /home/src/projects/project/app/tsconfig.json *deleted* Before request @@ -694,17 +1044,25 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -716,19 +1074,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -736,8 +1086,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -748,14 +1104,26 @@ FsWatches:: {} FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -765,8 +1133,19 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -774,12 +1153,14 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 4 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js index c104c1e3d9376..867efd8fbcc77 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js @@ -207,47 +207,271 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] 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] 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 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 3, + "tsSize": 141, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 107, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "composite": true, + "rootDir": "", + "outDir": "", + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -262,19 +486,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules: *new* +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -284,46 +500,67 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} +/home/src/projects/project/demos/helpers.ts: *new* + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: +/home/src/projects/project: *new* + {} /home/src/projects/project/app: *new* {} +/home/src/projects/project/demos: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* +/home/src/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *new* version: Text-1 containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 /home/src/projects/project/app/tsconfig.json - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Before running Timeout callback:: count: 1 -1: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +1: /home/src/projects/project/tsconfig.json +2: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { "compilerOptions": { @@ -337,35 +574,122 @@ Before running Timeout callback:: count: 1 } -Timeout callback:: count: 1 -1: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +1: /home/src/projects/project/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + autoImportProviderHost: undefined *changed* + +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 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/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/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/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +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 projectStateVersion: 2 projectProgramVersion: 1 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" -Host is moving to new time +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -380,11 +704,61 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/node_modules: *new* + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} +/home/src/tslibs/TS/Lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -499,38 +873,48 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/projects/project/app/Component.ts + /home/src/projects/project/demos/helpers.ts + /home/src/projects/project/app/Component-demos.ts ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component.ts + helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -551,14 +935,8 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -566,9 +944,17 @@ PolledWatches:: /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} + FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* @@ -577,51 +963,66 @@ FsWatches:: {} FsWatches *deleted*:: -/home/src/projects/project/app/Component.ts: +/home/src/projects/project/demos/tsconfig.json: {} FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} /home/src/projects/random: *new* {} FsWatchesRecursive *deleted*:: -/home/src/projects/project/app: +/home/src/projects/project/demos: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *deleted* +/home/src/projects/project/demos/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 isClosed: true *changed* noOpenRef: true + autoImportProviderHost: undefined *changed* +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false ScriptInfos:: -/home/src/projects/project/app/Component-demos.ts (Open) +/home/src/projects/project/app/Component-demos.ts (Open) *changed* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *deleted* + containingProjects: 1 *changed* + /home/src/projects/project/tsconfig.json *default* + /home/src/projects/project/demos/tsconfig.json *deleted* +/home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* + containingProjects: 3 *changed* + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json /home/src/projects/random/tsconfig.json *new* - /home/src/projects/project/app/tsconfig.json *deleted* + /home/src/projects/project/demos/tsconfig.json *deleted* Before request @@ -635,17 +1036,21 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -661,14 +1066,8 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -677,8 +1076,12 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -689,14 +1092,20 @@ FsWatches:: {} FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -707,7 +1116,16 @@ ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject1* *default* + /home/src/projects/project/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -715,24 +1133,24 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 3 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json findDefaultConfiguredProject: - undefined -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root + /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -2: /home/src/projects/project/app/tsconfig.json -3: *ensureProjectForOpenFiles* +3: /home/src/projects/project/tsconfig.json +4: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { "compilerOptions": { @@ -750,67 +1168,92 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -2: /home/src/projects/project/app/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +3: /home/src/projects/project/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true autoImportProviderHost: false -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingStart", "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Change in config file /home/src/projects/project/tsconfig.json detected, Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Change in config file detected" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ - "/home/src/projects/project/app/Component.ts" + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" ], "options": { "composite": true, - "outDir": "/home/src/projects/project/app-dist", - "configFilePath": "/home/src/projects/project/app/tsconfig.json" + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" } } -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 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/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/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/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +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 projectStateVersion: 3 projectProgramVersion: 2 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-2 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -819,7 +1262,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "projectLoadingFinish", "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" + "projectName": "/home/src/projects/project/tsconfig.json" } } Info seq [hh:mm:ss:mss] event: @@ -828,44 +1271,105 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/projects/project/app/tsconfig.json", - "configFile": "/home/src/projects/project/app/tsconfig.json", + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", "diagnostics": [] } } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/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] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + + + ../../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -881,30 +1385,32 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/node_modules: + {"pollingInterval":500} +/home/src/projects/project/node_modules: + {"pollingInterval":500} + FsWatches:: -/home/src/projects/project/app/Component.ts: *new* +/home/src/projects/project/app/Component.ts: {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: @@ -915,22 +1421,27 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project/app: *new* +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: *new* {} /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *changed* +/home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* dirty: false *changed* - initialLoadPending: false *changed* - noOpenRef: true *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -938,27 +1449,35 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/projects/project/app/Component-demos.ts (Open) +/home/src/projects/project/app/Component-demos.ts (Open) *changed* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *new* - version: Text-2 - containingProjects: 1 + containingProjects: 2 *changed* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* *new* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *new* /home/src/projects/random/random.ts version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* - /dev/null/inferredProject1* + containingProjects: 4 *changed* + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json /home/src/projects/random/tsconfig.json - /home/src/projects/project/app/tsconfig.json *new* + /home/src/projects/project/demos/tsconfig.json *new* Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js index ab1d9db4b4967..05431ab2025d4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js @@ -207,47 +207,271 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/app -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/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* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/demos/helpers.ts", + "/home/src/projects/project/app/Component-demos.ts" + ], + "options": { + "composite": true, + "rootDir": "/home/src/projects/project", + "outDir": "/home/src/projects/project/demos-dist", + "paths": { + "demos/*": [ + "./*" + ] + }, + "pathsBasePath": "/home/src/projects/project/demos", + "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] 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] 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 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + demos/helpers.ts + Imported via 'demos/helpers' from file 'app/Component-demos.ts' + Matched by default include pattern '**/*' + app/Component-demos.ts + Matched by default include pattern '**/*' + app/Component.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 3, + "tsSize": 141, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/demos/tsconfig.json, currentDirectory: /home/src/projects/project/demos +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json", + "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +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/demos/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/demos/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/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - Component-demos.ts - Root file specified for compilation + helpers.ts + Matched by include pattern '**/*' in 'tsconfig.json' + Imported via 'demos/helpers' from file '../app/Component-demos.ts' + ../app/Component-demos.ts + Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/demos/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 107, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "composite": true, + "rootDir": "", + "outDir": "", + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/demos/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -262,19 +486,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules: *new* +/home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -284,46 +500,67 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} +/home/src/projects/project/demos/helpers.ts: *new* + {} +/home/src/projects/project/demos/tsconfig.json: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: +/home/src/projects/project: *new* + {} /home/src/projects/project/app: *new* {} +/home/src/projects/project/demos: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *new* +/home/src/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts *new* version: Text-1 containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 /home/src/projects/project/app/tsconfig.json - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Before running Timeout callback:: count: 1 -1: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +1: /home/src/projects/project/tsconfig.json +2: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { "compilerOptions": { @@ -337,35 +574,122 @@ Before running Timeout callback:: count: 1 } -Timeout callback:: count: 1 -1: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +1: /home/src/projects/project/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* -Host is moving to new time +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + autoImportProviderHost: undefined *changed* + +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 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/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/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/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +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 projectStateVersion: 2 projectProgramVersion: 1 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -380,17 +704,69 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/node_modules: *new* + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} +/home/src/tslibs/TS/Lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/tsconfig.json findDefaultConfiguredProject: - undefined -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root + /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Before running Timeout callback:: count: 1 -2: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +3: /home/src/projects/project/tsconfig.json +4: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { "compilerOptions": { @@ -407,35 +783,127 @@ Before running Timeout callback:: count: 1 } -Timeout callback:: count: 1 -2: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +3: /home/src/projects/project/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* -Host is moving to new time +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/app/Component-demos.ts", + "/home/src/projects/project/app/Component.ts", + "/home/src/projects/project/demos/helpers.ts" + ], + "options": { + "outDir": "/home/src/projects/project/dist", + "configFilePath": "/home/src/projects/project/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/home/src/projects/project/demos/tsconfig.json", + "originalPath": "./demos/tsconfig.json" + }, + { + "path": "/home/src/projects/project/app/tsconfig.json", + "originalPath": "./app/tsconfig.json" + } + ] +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 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/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/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/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +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 projectStateVersion: 3 projectProgramVersion: 2 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/projects/project/tsconfig.json", + "configFile": "/home/src/projects/project/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -450,11 +918,63 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/home/src/projects/node_modules: + {"pollingInterval":500} +/home/src/projects/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} +/home/src/tslibs/TS/Lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} + +Projects:: +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + dirty: false *changed* + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined + /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -568,39 +1088,25 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/projects/project/app/Component.ts - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/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] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -617,19 +1123,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -637,8 +1135,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* @@ -646,28 +1150,27 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -FsWatches *deleted*:: -/home/src/projects/project/app/Component.ts: - {} - FsWatchesRecursive:: -/home/src/projects/random: *new* +/home/src/projects/project: {} - -FsWatchesRecursive *deleted*:: /home/src/projects/project/app: {} +/home/src/projects/project/demos: + {} +/home/src/projects/random: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/projects/project/app/tsconfig.json (Configured) *deleted* +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 3 + projectProgramVersion: 3 /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -676,22 +1179,30 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/projects/project/app/Component.ts *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* + containingProjects: 4 *changed* + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* - /home/src/projects/project/app/tsconfig.json *deleted* Before request @@ -705,17 +1216,25 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.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] Project '/home/src/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/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: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -727,19 +1246,11 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: - {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/app/node_modules: - {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules: +/home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -747,8 +1258,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects/project/app/Component.ts: + {} /home/src/projects/project/app/tsconfig.json: {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -759,14 +1276,26 @@ FsWatches:: {} FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} /home/src/projects/random: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) + projectStateVersion: 3 + projectProgramVersion: 3 /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -776,8 +1305,19 @@ Projects:: ScriptInfos:: /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -785,12 +1325,14 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 4 + /home/src/projects/project/app/tsconfig.json + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /dev/null/inferredProject1* + /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - undefined \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js b/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js index d2c146d4caca4..4895c2b4b0979 100644 --- a/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js +++ b/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js @@ -278,6 +278,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: /home/src/projects/project:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root 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 b056fcb3bea9e..b97847073eb55 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 @@ -423,42 +423,18 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/playground/tsconfig.json Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/playground/tests.ts - /user/username/projects/myproject/playground/tsconfig-json/src/src.ts - /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - tests.ts - Matched by default include pattern '**/*' - tsconfig-json/src/src.ts - Matched by default include pattern '**/*' - tsconfig-json/tests/spec.ts - Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/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:: Close:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tests.ts 500 undefined WatchType: Closed Script info 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) 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/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/playground/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -485,59 +461,55 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/playground/tests.ts: + {} /user/username/projects/myproject/playground/tsconfig-json/src/src.ts: {} /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json: *new* {} +/user/username/projects/myproject/playground/tsconfig.json: + {} FsWatches *deleted*:: -/user/username/projects/myproject/playground/tests.ts: - {} /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts: {} -/user/username/projects/myproject/playground/tsconfig.json: - {} FsWatchesRecursive:: -/user/username/projects/myproject/playground/tsconfig-json/src: *new* - {} - -FsWatchesRecursive *deleted*:: /user/username/projects/myproject/playground: {} +/user/username/projects/myproject/playground/tsconfig-json/src: *new* + {} 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* +/user/username/projects/myproject/playground/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* + noOpenRef: false *changed* + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /user/username/projects/myproject/playground/tsconfig.json /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* +/user/username/projects/myproject/playground/tests.ts version: SVC-1-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/playground/tsconfig.json *deleted* + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json /user/username/projects/myproject/playground/tsconfig-json/src/src.ts *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /user/username/projects/myproject/playground/tsconfig.json /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* + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json *default* Before request @@ -550,58 +522,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -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) - -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/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject/playground/tsconfig-json/tests -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/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/playground/tsconfig-json/tests/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/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/playground/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/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/myproject/playground/tsconfig-json/tests/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/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/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/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/myproject/playground/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] 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] 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* projectStateVersion: 1 projectProgramVersion: 0 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts Text-1 "export function bar() { }" - - - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - spec.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -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) - -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/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "response": [ @@ -631,72 +551,6 @@ Info seq [hh:mm:ss:mss] response: "kind": "code" } ], - "responseRequired": true, - "performanceData": { - "updateGraphDurationMs": * - } + "responseRequired": true } After request - -PolledWatches:: -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/playground/jsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/playground/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/jsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/tests/jsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types: *new* - {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/tsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/playground/tsconfig-json/src/src.ts: - {} -/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json: - {} -/user/username/projects/myproject/playground/tsconfig.json: *new* - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/playground/tsconfig-json/src: - {} - -Projects:: -/dev/null/inferredProject1* (Inferred) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true - -ScriptInfos:: -/home/src/tslibs/TS/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/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 be0581634758e..33e83f4042fc0 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 @@ -451,94 +451,36 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/apps/editor/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js - /user/username/projects/myproject/apps/editor/src/src.js - /user/username/projects/myproject/mocks/cssMock.js - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - apps/editor/scripts/createConfigVariable.js - Matched by default include pattern '**/*' - apps/editor/src/src.js - Matched by default include pattern '**/*' - mocks/cssMock.js - Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/mocks/cssMock.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/apps/editor/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: /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject/apps/editor/scripts -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/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/apps/editor/scripts/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/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/apps/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/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/myproject/apps/editor/scripts/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/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/myproject/apps/editor/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/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/myproject/apps/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] 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] 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* projectStateVersion: 1 projectProgramVersion: 0 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js Text-1 "function bar() { }" - - - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - createConfigVariable.js - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -TI:: Creating typing installer +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 3, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request PolledWatches:: -/user/username/projects/myproject/apps/editor/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/apps/editor/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/apps/editor/scripts/jsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/apps/editor/scripts/node_modules/@types: *new* - {"pollingInterval":500} -/user/username/projects/myproject/apps/editor/scripts/tsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/apps/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/apps/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/apps/tsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: @@ -551,259 +493,48 @@ FsWatches:: {} /user/username/projects/myproject/apps/editor/tsconfig.json: *new* {} +/user/username/projects/myproject/mocks/cssMock.js: + {} /user/username/projects/myproject/tsconfig.json: {} FsWatches *deleted*:: /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js: {} -/user/username/projects/myproject/mocks/cssMock.js: - {} FsWatchesRecursive:: -/user/username/projects/myproject/apps/editor/src: *new* - {} - -FsWatchesRecursive *deleted*:: /user/username/projects/myproject: {} +/user/username/projects/myproject/apps/editor/src: *new* + {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* - projectStateVersion: 1 - projectProgramVersion: 0 /user/username/projects/myproject/apps/editor/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true -/user/username/projects/myproject/tsconfig.json (Configured) *deleted* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* + noOpenRef: false *changed* + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json /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* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* /user/username/projects/myproject/apps/editor/src/src.js *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json /user/username/projects/myproject/apps/editor/tsconfig.json *new* - /user/username/projects/myproject/tsconfig.json *deleted* -/user/username/projects/myproject/mocks/cssMock.js *deleted* +/user/username/projects/myproject/mocks/cssMock.js version: SVC-1-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/tsconfig.json *deleted* - -TI:: [hh:mm:ss:mss] Global cache location '/home/src/Library/Caches/typescript', safe file path '/home/src/tslibs/TS/Lib/typingSafeList.json', types map path /home/src/tslibs/TS/Lib/typesMap.json -TI:: [hh:mm:ss:mss] Processing cache location '/home/src/Library/Caches/typescript' -TI:: [hh:mm:ss:mss] Trying to find '/home/src/Library/Caches/typescript/package.json'... -TI:: [hh:mm:ss:mss] Finished processing cache location '/home/src/Library/Caches/typescript' -TI:: [hh:mm:ss:mss] Npm config file: /home/src/Library/Caches/typescript/package.json -TI:: [hh:mm:ss:mss] Npm config file: '/home/src/Library/Caches/typescript/package.json' is missing, creating new one... -TI:: [hh:mm:ss:mss] Updating types-registry npm package... -TI:: [hh:mm:ss:mss] npm install --ignore-scripts types-registry@latest -TI:: [hh:mm:ss:mss] Updated types-registry npm package -TI:: typing installer creation complete -//// [/home/src/Library/Caches/typescript/package.json] -{ "private": true } - -//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] -{ - "entries": {} -} - - -TI:: [hh:mm:ss:mss] Got install request - { - "projectName": "/dev/null/inferredProject1*", - "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", - "/user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js" - ], - "compilerOptions": { - "target": 1, - "jsx": 1, - "allowNonTsExtensions": true, - "allowJs": true, - "noEmitForJsFiles": true, - "maxNodeModuleJsDepth": 2 - }, - "typeAcquisition": { - "enable": true, - "include": [], - "exclude": [] - }, - "unresolvedImports": [], - "projectRootPath": "/user/username/projects/myproject/apps/editor/scripts", - "kind": "discover" - } -TI:: [hh:mm:ss:mss] Failed to load safelist from types map file '/home/src/tslibs/TS/Lib/typesMap.json' -TI:: [hh:mm:ss:mss] Explicitly included types: [] -TI:: [hh:mm:ss:mss] Inferred typings from unresolved imports: [] -TI:: [hh:mm:ss:mss] Finished typings discovery: - { - "cachedTypingPaths": [], - "newTypingNames": [], - "filesToWatch": [ - "/user/username/projects/myproject/apps/editor/scripts/bower_components", - "/user/username/projects/myproject/apps/editor/scripts/node_modules" - ] - } -TI:: [hh:mm:ss:mss] Sending response: - { - "kind": "action::watchTypingLocations", - "projectName": "/dev/null/inferredProject1*", - "files": [ - "/user/username/projects/myproject/apps/editor/scripts/bower_components", - "/user/username/projects/myproject/apps/editor/scripts/node_modules" - ] - } -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/bower_components 1 undefined Project: /dev/null/inferredProject1* WatchType: Directory location for typing installer -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/bower_components 1 undefined Project: /dev/null/inferredProject1* WatchType: Directory location for typing installer -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Directory location for typing installer -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Directory location for typing installer -TI:: [hh:mm:ss:mss] Sending response: - { - "projectName": "/dev/null/inferredProject1*", - "typeAcquisition": { - "enable": true, - "include": [], - "exclude": [] - }, - "compilerOptions": { - "target": 1, - "jsx": 1, - "allowNonTsExtensions": true, - "allowJs": true, - "noEmitForJsFiles": true, - "maxNodeModuleJsDepth": 2 - }, - "typings": [], - "unresolvedImports": [], - "kind": "action::set" - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "setTypings", - "body": { - "projectName": "/dev/null/inferredProject1*", - "typeAcquisition": { - "enable": true, - "include": [], - "exclude": [] - }, - "compilerOptions": { - "target": 1, - "jsx": 1, - "allowNonTsExtensions": true, - "allowJs": true, - "noEmitForJsFiles": true, - "maxNodeModuleJsDepth": 2 - }, - "typings": [], - "unresolvedImports": [], - "kind": "action::set" - } - } -TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/apps/editor/tsconfig.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/apps/editor/scripts/createConfigVariable.js ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/apps/editor/tsconfig.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/apps/editor/scripts/createConfigVariable.js ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 3, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } - } -After request - -PolledWatches:: -/user/username/projects/myproject/apps/editor/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/apps/editor/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/apps/editor/scripts/bower_components: *new* - {"pollingInterval":500} -/user/username/projects/myproject/apps/editor/scripts/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/apps/editor/scripts/node_modules: *new* - {"pollingInterval":500} -/user/username/projects/myproject/apps/editor/scripts/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/apps/editor/scripts/tsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/apps/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/apps/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/apps/tsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/jsconfig.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/apps/editor/src/src.js: - {} -/user/username/projects/myproject/apps/editor/tsconfig.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/apps/editor/src: - {} - -Projects:: -/dev/null/inferredProject1* (Inferred) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 *changed* - autoImportProviderHost: false *changed* -/user/username/projects/myproject/apps/editor/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json 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 0ee26085aa132..4c5e7e2c1cf80 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 @@ -323,6 +323,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Invoking /user/username/projects/project/a/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/project/a/main.js Info seq [hh:mm:ss:mss] Project: /user/username/projects/project/a/tsconfig.json Detected output file: /user/username/projects/project/a/main.js Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/main.js ProjectRootPath: undefined:: Result: /user/username/projects/project/a/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, 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 b66daf0c0936b..0900ac22829a6 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 @@ -423,42 +423,18 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/playground/tsconfig.json Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/playground/tests.ts - /user/username/projects/myproject/playground/tsconfig-json/src/src.ts - /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - tests.ts - Matched by default include pattern '**/*' - tsconfig-json/src/src.ts - Matched by default include pattern '**/*' - tsconfig-json/tests/spec.ts - Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/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:: Close:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tests.ts 500 undefined WatchType: Closed Script info 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) 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/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/playground/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -485,59 +461,55 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/playground/tests.ts: + {} /user/username/projects/myproject/playground/tsconfig-json/src/src.ts: {} /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json: *new* {} +/user/username/projects/myproject/playground/tsconfig.json: + {} FsWatches *deleted*:: -/user/username/projects/myproject/playground/tests.ts: - {} /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts: {} -/user/username/projects/myproject/playground/tsconfig.json: - {} FsWatchesRecursive:: -/user/username/projects/myproject/playground/tsconfig-json/src: *new* - {} - -FsWatchesRecursive *deleted*:: /user/username/projects/myproject/playground: {} +/user/username/projects/myproject/playground/tsconfig-json/src: *new* + {} 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* +/user/username/projects/myproject/playground/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* + noOpenRef: false *changed* + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /user/username/projects/myproject/playground/tsconfig.json /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* +/user/username/projects/myproject/playground/tests.ts version: SVC-1-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/playground/tsconfig.json *deleted* + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json /user/username/projects/myproject/playground/tsconfig-json/src/src.ts *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /user/username/projects/myproject/playground/tsconfig.json /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* + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json *default* Before request @@ -552,60 +524,8 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -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) - -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/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject/playground/tsconfig-json/tests -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/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/playground/tsconfig-json/tests/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/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/playground/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/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/myproject/playground/tsconfig-json/tests/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/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/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/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/myproject/playground/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] 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] 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* projectStateVersion: 1 projectProgramVersion: 0 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts Text-1 "export function bar() { }" - - - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - spec.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -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) - -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/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts position 16 in project /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.d.ts 2000 undefined Project: /dev/null/inferredProject1* WatchType: Missing generated file +Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts position 16 in project /user/username/projects/myproject/playground/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.d.ts 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: { "response": { @@ -637,74 +557,47 @@ Info seq [hh:mm:ss:mss] response: "symbolStartOffset": 17, "symbolDisplayString": "function bar(): void" }, - "responseRequired": true, - "performanceData": { - "updateGraphDurationMs": * - } + "responseRequired": true } After request PolledWatches:: -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/playground/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/jsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/tests/jsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types: *new* - {"pollingInterval":500} /user/username/projects/myproject/playground/tsconfig-json/tests/spec.d.ts: *new* {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/tsconfig.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/playground/tests.ts: + {} /user/username/projects/myproject/playground/tsconfig-json/src/src.ts: {} /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json: {} -/user/username/projects/myproject/playground/tsconfig.json: *new* +/user/username/projects/myproject/playground/tsconfig.json: {} FsWatchesRecursive:: +/user/username/projects/myproject/playground: + {} /user/username/projects/myproject/playground/tsconfig-json/src: {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) +/user/username/projects/myproject/playground/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true - -ScriptInfos:: -/home/src/tslibs/TS/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* + documentPositionMappers: 1 *changed* + /user/username/projects/myproject/playground/tsconfig-json/tests/spec.d.ts: identitySourceMapConsumer *new* + autoImportProviderHost: false 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 430dd35a86586..28dd5e0735b97 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 @@ -343,6 +343,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, From 59804114ec19801d10bc7ee01b409fd4288dbf16 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 13 Aug 2024 20:29:15 -0700 Subject: [PATCH 05/10] Dont create program for composite projects to find default project --- src/compiler/commandLineParser.ts | 17 +- src/compiler/tsbuildPublic.ts | 15 +- src/compiler/watchPublic.ts | 10 +- src/server/editorServices.ts | 807 ++++++++---- src/server/project.ts | 26 +- src/server/scriptInfo.ts | 24 +- src/server/session.ts | 3 + .../unittests/tsserver/auxiliaryProject.ts | 4 +- .../unittests/tsserver/projectReferences.ts | 4 +- tests/baselines/reference/api/typescript.d.ts | 4 + .../with-applyChangedToOpenFiles-request.js | 20 +- .../with-updateOpen-request.js | 20 +- ...e-is-in-inferred-project-until-imported.js | 18 +- ...roviderProject-when-host-project-closes.js | 18 +- ...-are-redirects-that-dont-actually-exist.js | 20 +- ...ider-if-there-are-too-many-dependencies.js | 18 +- ...pening-projects-for-find-all-references.js | 18 +- ...s-on-AutoImportProviderProject-creation.js | 18 +- ...covers-from-an-unparseable-package_json.js | 18 +- ...ds-to-automatic-changes-in-node_modules.js | 18 +- ...ponds-to-manual-changes-in-node_modules.js | 18 +- .../Responds-to-package_json-changes.js | 18 +- ...der-when-program-structure-is-unchanged.js | 18 +- ...een-AutoImportProvider-and-main-program.js | 20 +- ...ependencies-are-already-in-main-program.js | 18 +- .../without-dependencies-listed.js | 18 +- ...-FLLs-in-Classic-module-resolution-mode.js | 18 +- ...der-FLLs-in-Node-module-resolution-mode.js | 18 +- ...-when-timeout-occurs-after-installation.js | 16 +- ...n-timeout-occurs-inbetween-installation.js | 16 +- ...-file-with-case-insensitive-file-system.js | 20 +- ...ig-file-with-case-sensitive-file-system.js | 20 +- .../when-calling-goto-definition-of-module.js | 20 +- ...n-creating-new-file-in-symlinked-folder.js | 20 +- ...eive-event-for-the-@types-file-addition.js | 16 +- .../cancellationT/Geterr-is-cancellable.js | 16 +- .../Lower-priority-tasks-are-cancellable.js | 16 +- .../install-package-when-serialized.js | 16 +- .../tsserver/codeFix/install-package.js | 16 +- ...quest-when-projectFile-is-not-specified.js | 40 +- ...stRequest-when-projectFile-is-specified.js | 40 +- ...utFile-should-be-true-if-outFile-is-set.js | 20 +- ...tFile-should-not-be-returned-if-not-set.js | 18 +- ...ojects-all-projects-without-projectPath.js | 34 +- ...figProjects-cascaded-affected-file-list.js | 20 +- .../configProjects-circular-references.js | 18 +- .../configProjects-compileOnSave-disabled.js | 20 +- ...Projects-compileOnSave-in-base-tsconfig.js | 20 +- ...ojects-detect-changes-in-non-root-files.js | 16 +- ...onfigProjects-global-file-shape-changed.js | 20 +- .../configProjects-isolatedModules.js | 20 +- .../configProjects-module-shape-changed.js | 20 +- .../compileOnSave/configProjects-noEmit.js | 20 +- .../configProjects-non-existing-code.js | 16 +- .../compileOnSave/configProjects-outFile.js | 20 +- .../configProjects-removed-code.js | 18 +- ...uptodate-with-changes-in-non-open-files.js | 20 +- ...figProjects-uptodate-with-deleted-files.js | 20 +- .../configProjects-uptodate-with-new-files.js | 20 +- ...cts-uptodate-with-reference-map-changes.js | 20 +- ...ileChange-in-global-file-with-composite.js | 20 +- ...ange-in-global-file-with-decorator-emit.js | 20 +- ...FileChange-in-global-file-with-dts-emit.js | 20 +- .../dtsFileChange-in-global-file.js | 18 +- .../dtsFileChange-in-module-file.js | 18 +- .../emit-in-project-with-dts-emit.js | 20 +- ...it-in-project-with-module-with-dts-emit.js | 20 +- .../emit-in-project-with-module.js | 20 +- .../tsserver/compileOnSave/emit-in-project.js | 20 +- .../compileOnSave/emit-specified-file.js | 18 +- .../emit-with-richRepsonse-as-false.js | 20 +- .../emit-with-richRepsonse-as-true.js | 20 +- .../emit-with-richRepsonse-as-undefined.js | 20 +- ...hout-includeCompletionsForModuleExports.js | 20 +- ...-with-path-mapping-with-existing-import.js | 20 +- ...hout-includeCompletionsForModuleExports.js | 20 +- ...oject-reference-setup-with-path-mapping.js | 20 +- ...mports-but-has-project-references-setup.js | 20 +- .../reference/tsserver/completions/works.js | 18 +- ...-not-count-against-the-resolution-limit.js | 20 +- ...ailable-from-module-specifier-cache-(1).js | 20 +- ...ailable-from-module-specifier-cache-(2).js | 20 +- ...-for-transient-symbols-between-requests.js | 20 +- ...orks-with-PackageJsonAutoImportProvider.js | 20 +- .../tsserver/completionsIncomplete/works.js | 20 +- ...should-stop-at-projectRootPath-if-given.js | 16 +- ...-searching-for-inferred-project-again-2.js | 16 +- ...en-searching-for-inferred-project-again.js | 16 +- .../tsconfig-for-the-file-does-not-exist.js | 78 +- .../tsconfig-for-the-file-exists.js | 16 +- ...-are-all-closed-when-the-update-happens.js | 18 +- ...oject-as-part-of-configured-file-update.js | 18 +- ...onfig-file-in-a-folder-with-loose-files.js | 130 +- ...-and-file-from-first-config-is-not-open.js | 64 +- ...file-when-parent-folder-has-config-file.js | 610 +++++----- ...-and-file-from-first-config-is-not-open.js | 72 +- ...-config-file-with-sibling-jsconfig-file.js | 632 +++++----- ...-a-configured-project-without-file-list.js | 16 +- ...has-changed-(new-file-in-list-of-files).js | 16 +- ...ot-files-has-changed-(new-file-on-disk).js | 16 +- ...-when-set-of-root-files-was-not-changed.js | 18 +- ...on-reflected-when-specifying-files-list.js | 18 +- ...e-configured-project-with-the-file-list.js | 18 +- ...te-configured-project-without-file-list.js | 18 +- ...er-old-one-without-file-being-in-config.js | 18 +- ...invoked,-ask-errors-on-it-after-old-one.js | 18 +- ...re-old-one-without-file-being-in-config.js | 18 +- ...nvoked,-ask-errors-on-it-before-old-one.js | 18 +- ...er-old-one-without-file-being-in-config.js | 18 +- ...invoked,-ask-errors-on-it-after-old-one.js | 18 +- ...re-old-one-without-file-being-in-config.js | 18 +- ...nvoked,-ask-errors-on-it-before-old-one.js | 18 +- ...uses-parent-most-node_modules-directory.js | 16 +- ...ached-when-language-service-is-disabled.js | 20 +- ...iles-explicitly-excluded-in-config-file.js | 18 +- .../handle-recreated-files-correctly.js | 18 +- ...ject-if-it-is-referenced-from-root-file.js | 92 +- ...ndle-@types-if-input-file-list-is-empty.js | 12 +- ...server-when-reading-tsconfig-file-fails.js | 16 +- ...e-tolerated-without-crashing-the-server.js | 12 +- ...ting-files-specified-in-the-config-file.js | 18 +- ...erenced-by-the-project-but-not-its-root.js | 18 +- ...n-if-its-not-the-file-from-same-project.js | 18 +- ...odule-resolution-changes-in-config-file.js | 18 +- ...nfigured-project-that-has-no-open-files.js | 20 +- ...the-extended-configs-of-closed-projects.js | 52 +- ...errors-and-still-try-to-build-a-project.js | 20 +- ...nclude-files-that-start-in-subDirectory.js | 12 +- ...e-extended-configs-of-multiple-projects.js | 36 +- ...rk-even-if-language-service-is-disabled.js | 20 +- ...gured-project-does-not-contain-the-file.js | 52 +- .../when-file-name-starts-with-caret.js | 18 +- ...re-open-detects-correct-default-project.js | 40 +- ...indAllReferences-starting-at-definition.js | 60 +- ...findAllReferences-target-does-not-exist.js | 40 +- .../declarationFileMaps/findAllReferences.js | 62 +- ...rencesFull-definition-is-in-mapped-file.js | 40 +- .../findAllReferencesFull.js | 62 +- ...nitionAndBoundSpan-with-file-navigation.js | 60 +- .../getDefinitionAndBoundSpan.js | 40 +- ...ect-doesnt-include-file-and-its-renamed.js | 40 +- .../getEditsForFileRename.js | 40 +- .../goToDefinition-target-does-not-exist.js | 40 +- .../declarationFileMaps/goToDefinition.js | 40 +- .../declarationFileMaps/goToImplementation.js | 40 +- .../tsserver/declarationFileMaps/goToType.js | 40 +- .../declarationFileMaps/navigateTo.js | 40 +- ...ll-file-is-not-specified-but-project-is.js | 60 +- ...l-neither-file-not-project-is-specified.js | 60 +- .../renameLocations-starting-at-definition.js | 60 +- .../renameLocations-target-does-not-exist.js | 40 +- .../declarationFileMaps/renameLocations.js | 62 +- .../renameLocationsFull.js | 62 +- ...-orphan,-and-orphan-script-info-changes.js | 16 +- ...he-source-file-if-script-info-is-orphan.js | 16 +- .../works-with-import-fixes.js | 18 +- ...Path-is-different-from-currentDirectory.js | 16 +- ...ut-inferred-project-per-projectRootPath.js | 16 +- .../dynamicFiles/opening-untitled-files.js | 16 +- ...tled-can-convert-positions-to-locations.js | 16 +- ...n-large-js-file-is-included-by-tsconfig.js | 20 +- ...n-large-ts-file-is-included-by-tsconfig.js | 20 +- ...e-service-disabled-events-are-triggered.js | 20 +- ...large-file-size-is-determined-correctly.js | 20 +- ...g-file-when-using-default-event-handler.js | 18 +- ...ed-config-file-when-using-event-handler.js | 18 +- ...g-file-when-using-default-event-handler.js | 16 +- ...he-config-file-when-using-event-handler.js | 16 +- ...opened-when-using-default-event-handler.js | 16 +- ...file-is-opened-when-using-event-handler.js | 16 +- ...direct-when-using-default-event-handler.js | 20 +- ...erenceRedirect-when-using-event-handler.js | 20 +- ...roject-when-using-default-event-handler.js | 20 +- ...cation-project-when-using-event-handler.js | 20 +- ...n-file-when-using-default-event-handler.js | 32 +- ...d-by-open-file-when-using-event-handler.js | 32 +- ...he-session-and-project-is-at-root-level.js | 20 +- ...ession-and-project-is-not-at-root-level.js | 20 +- ...tself-if---isolatedModules-is-specified.js | 18 +- ...self-if---out-or---outFile-is-specified.js | 20 +- ...should-be-up-to-date-with-deleted-files.js | 16 +- ...-be-up-to-date-with-newly-created-files.js | 16 +- ...-to-date-with-the-reference-map-changes.js | 16 +- ...session-and-should-contains-only-itself.js | 16 +- ...should-detect-changes-in-non-root-files.js | 16 +- ...nd-should-detect-non-existing-code-file.js | 16 +- ...ion-and-should-detect-removed-code-file.js | 16 +- ...ll-files-if-a-global-file-changed-shape.js | 16 +- ...ould-return-cascaded-affected-file-list.js | 16 +- ...fine-for-files-with-circular-references.js | 16 +- ...n-the-session-and-when---outFile-is-set.js | 18 +- ...in-the-session-and-when-adding-new-file.js | 16 +- ...ssion-and-when-both-options-are-not-set.js | 16 +- ...oundUpdate-and-project-is-at-root-level.js | 20 +- ...Update-and-project-is-not-at-root-level.js | 20 +- ...tself-if---isolatedModules-is-specified.js | 18 +- ...self-if---out-or---outFile-is-specified.js | 20 +- ...should-be-up-to-date-with-deleted-files.js | 16 +- ...-be-up-to-date-with-newly-created-files.js | 16 +- ...-to-date-with-the-reference-map-changes.js | 16 +- ...dUpdate-and-should-contains-only-itself.js | 16 +- ...should-detect-changes-in-non-root-files.js | 16 +- ...nd-should-detect-non-existing-code-file.js | 16 +- ...ate-and-should-detect-removed-code-file.js | 16 +- ...ll-files-if-a-global-file-changed-shape.js | 16 +- ...ould-return-cascaded-affected-file-list.js | 16 +- ...fine-for-files-with-circular-references.js | 16 +- ...kgroundUpdate-and-when---outFile-is-set.js | 18 +- ...ckgroundUpdate-and-when-adding-new-file.js | 16 +- ...pdate-and-when-both-options-are-not-set.js | 16 +- ...oundUpdate-and-project-is-at-root-level.js | 20 +- ...Update-and-project-is-not-at-root-level.js | 20 +- ...tself-if---isolatedModules-is-specified.js | 18 +- ...self-if---out-or---outFile-is-specified.js | 20 +- ...should-be-up-to-date-with-deleted-files.js | 16 +- ...-be-up-to-date-with-newly-created-files.js | 16 +- ...-to-date-with-the-reference-map-changes.js | 16 +- ...dUpdate-and-should-contains-only-itself.js | 16 +- ...should-detect-changes-in-non-root-files.js | 16 +- ...nd-should-detect-non-existing-code-file.js | 16 +- ...ate-and-should-detect-removed-code-file.js | 16 +- ...ll-files-if-a-global-file-changed-shape.js | 16 +- ...ould-return-cascaded-affected-file-list.js | 16 +- ...fine-for-files-with-circular-references.js | 16 +- ...kgroundUpdate-and-when---outFile-is-set.js | 18 +- ...ckgroundUpdate-and-when-adding-new-file.js | 16 +- ...pdate-and-when-both-options-are-not-set.js | 16 +- .../canUseWatchEvents-on-windows.js | 20 +- .../events/watchEvents/canUseWatchEvents.js | 20 +- .../caches-auto-imports-in-the-same-file.js | 20 +- ...ckage.json-is-changed-inconsequentially.js | 20 +- ...s-inconsequentially-referencedInProject.js | 20 +- ...enced-project-changes-inconsequentially.js | 20 +- ...ansient-symbols-through-program-updates.js | 20 +- ...-file-is-opened-with-different-contents.js | 18 +- ...idates-the-cache-when-files-are-deleted.js | 20 +- ...ates-the-cache-when-new-files-are-added.js | 20 +- ...ge-results-in-AutoImportProvider-change.js | 20 +- ...-changes-signatures-referencedInProject.js | 20 +- ...n-referenced-project-changes-signatures.js | 20 +- .../tsserver/extends/configDir-template.js | 20 +- .../extends/resolves-the-symlink-path.js | 20 +- ...zyConfiguredProjectsFromExternalProject.js | 12 +- ...s-changes-in-lib-section-of-config-file.js | 20 +- ...zyConfiguredProjectsFromExternalProject.js | 1 + ...tly-handling-add-or-remove-tsconfig---1.js | 1 + ...rnal-project-that-included-config-files.js | 16 +- ...fter-configured-project-and-then-closed.js | 16 +- ...ig-file-opened-after-configured-project.js | 16 +- ...non-existing-directories-in-config-file.js | 16 +- ...-was-updated-and-no-longer-has-the-file.js | 20 +- ...et-and-import-match-disk-with-link-open.js | 20 +- ...rt-match-disk-with-target-and-link-open.js | 20 +- ...-and-import-match-disk-with-target-open.js | 20 +- ...ry-symlink-target-and-import-match-disk.js | 20 +- ...et-and-import-match-disk-with-link-open.js | 20 +- ...rt-match-disk-with-target-and-link-open.js | 20 +- ...-and-import-match-disk-with-target-open.js | 20 +- ...le-symlink-target-and-import-match-disk.js | 20 +- ...nging-module-name-with-different-casing.js | 20 +- ...disk-but-import-does-not-with-link-open.js | 20 +- ...port-does-not-with-target-and-link-open.js | 20 +- ...sk-but-import-does-not-with-target-open.js | 20 +- ...target-matches-disk-but-import-does-not.js | 20 +- ...m-multiple-places-with-different-casing.js | 20 +- ...disk-but-import-does-not-with-link-open.js | 20 +- ...port-does-not-with-target-and-link-open.js | 20 +- ...sk-but-import-does-not-with-target-open.js | 20 +- ...target-matches-disk-but-import-does-not.js | 20 +- ...d-disk-are-all-different-with-link-open.js | 20 +- ...all-different-with-target-and-link-open.js | 20 +- ...disk-are-all-different-with-target-open.js | 20 +- ...link-target,-and-disk-are-all-different.js | 20 +- ...d-disk-are-all-different-with-link-open.js | 20 +- ...all-different-with-target-and-link-open.js | 20 +- ...disk-are-all-different-with-target-open.js | 20 +- ...link-target,-and-disk-are-all-different.js | 20 +- ...ee-but-do-not-match-disk-with-link-open.js | 20 +- ...ot-match-disk-with-target-and-link-open.js | 20 +- ...-but-do-not-match-disk-with-target-open.js | 20 +- ...link-target-agree-but-do-not-match-disk.js | 20 +- ...ee-but-do-not-match-disk-with-link-open.js | 20 +- ...ot-match-disk-with-target-and-link-open.js | 20 +- ...-but-do-not-match-disk-with-target-open.js | 20 +- ...link-target-agree-but-do-not-match-disk.js | 20 +- ...-symlink-target-does-not-with-link-open.js | 20 +- ...rget-does-not-with-target-and-link-open.js | 20 +- ...ymlink-target-does-not-with-target-open.js | 20 +- ...k-but-directory-symlink-target-does-not.js | 20 +- ...-symlink-target-does-not-with-link-open.js | 20 +- ...rget-does-not-with-target-and-link-open.js | 20 +- ...ymlink-target-does-not-with-target-open.js | 20 +- ...s-disk-but-file-symlink-target-does-not.js | 20 +- ...ied-with-a-case-insensitive-file-system.js | 20 +- ...hen-renaming-file-with-different-casing.js | 20 +- .../autoImportCrossPackage_pathsAndSymlink.js | 20 +- .../autoImportCrossProject_baseUrl_toDist.js | 160 +-- ...toImportCrossProject_paths_sharedOutDir.js | 20 +- .../autoImportCrossProject_paths_stripSrc.js | 271 +---- .../autoImportCrossProject_paths_toDist.js | 271 +---- .../autoImportCrossProject_paths_toDist2.js | 160 +-- .../autoImportCrossProject_paths_toSrc.js | 271 +---- ...utoImportCrossProject_symlinks_stripSrc.js | 259 +--- .../autoImportCrossProject_symlinks_toDist.js | 259 +--- .../autoImportCrossProject_symlinks_toSrc.js | 259 +--- .../autoImportNodeModuleSymlinkRenamed.js | 20 +- .../fourslashServer/autoImportProvider1.js | 16 +- .../fourslashServer/autoImportProvider2.js | 16 +- .../fourslashServer/autoImportProvider3.js | 20 +- .../fourslashServer/autoImportProvider4.js | 197 +-- .../fourslashServer/autoImportProvider6.js | 20 +- .../fourslashServer/autoImportProvider7.js | 20 +- .../fourslashServer/autoImportProvider8.js | 20 +- .../autoImportProvider_exportMap1.js | 18 +- .../autoImportProvider_exportMap2.js | 18 +- .../autoImportProvider_exportMap3.js | 18 +- .../autoImportProvider_exportMap4.js | 18 +- .../autoImportProvider_exportMap5.js | 18 +- .../autoImportProvider_exportMap6.js | 18 +- .../autoImportProvider_exportMap7.js | 20 +- .../autoImportProvider_exportMap8.js | 20 +- .../autoImportProvider_exportMap9.js | 20 +- .../autoImportProvider_globalTypingsCache.js | 20 +- .../autoImportProvider_importsMap1.js | 20 +- .../autoImportProvider_importsMap2.js | 20 +- .../autoImportProvider_importsMap3.js | 20 +- .../autoImportProvider_importsMap4.js | 20 +- .../autoImportProvider_importsMap5.js | 20 +- ...rtProvider_namespaceSameNameAsIntrinsic.js | 18 +- .../autoImportProvider_pnpm.js | 18 +- .../autoImportProvider_referencesCrash.js | 56 +- .../autoImportProvider_wildcardExports1.js | 18 +- .../autoImportProvider_wildcardExports2.js | 18 +- .../autoImportProvider_wildcardExports3.js | 20 +- .../autoImportReExportFromAmbientModule.js | 18 +- ...autoImportRelativePathToMonorepoPackage.js | 20 +- ...mport_addToNamedWithDifferentCacheValue.js | 20 +- .../completionsImport_computedSymbolName.js | 18 +- ...nsImport_defaultAndNamedConflict_server.js | 20 +- ...letionsImport_jsModuleExportsAssignment.js | 20 +- .../completionsImport_mergedReExport.js | 18 +- ...mpletionsImport_sortingModuleSpecifiers.js | 20 +- .../completionsOverridingMethodCrash2.js | 20 +- .../fourslashServer/configurePlugin.js | 20 +- .../declarationMapsEnableMapping_NoInline.js | 20 +- ...rationMapsEnableMapping_NoInlineSources.js | 20 +- ...clarationMapsGeneratedMapsEnableMapping.js | 20 +- ...larationMapsGeneratedMapsEnableMapping2.js | 20 +- ...larationMapsGeneratedMapsEnableMapping3.js | 20 +- ...oToDefinitionSameNameDifferentDirectory.js | 20 +- .../getFileReferences_deduplicate.js | 422 +++++-- .../getFileReferences_server1.js | 20 +- .../getFileReferences_server2.js | 590 +++++---- .../fourslashServer/goToSource13_nodenext.js | 20 +- .../fourslashServer/goToSource15_bundler.js | 20 +- .../fourslashServer/impliedNodeFormat.js | 20 +- ...importFixes_ambientCircularDefaultCrash.js | 20 +- ...importNameCodeFix_externalNonRelateive2.js | 20 +- .../importNameCodeFix_externalNonRelative1.js | 20 +- .../importNameCodeFix_pnpm1.js | 18 +- .../importStatementCompletions_pnpm1.js | 18 +- ...portStatementCompletions_pnpmTransitive.js | 18 +- .../importSuggestionsCache_ambient.js | 18 +- .../importSuggestionsCache_coreNodeModules.js | 20 +- .../importSuggestionsCache_exportUndefined.js | 20 +- ...portSuggestionsCache_invalidPackageJson.js | 20 +- ...portSuggestionsCache_moduleAugmentation.js | 18 +- .../isDefinitionAcrossGlobalProjects.js | 24 +- .../isDefinitionAcrossModuleProjects.js | 22 +- .../moveToFile_emptyTargetFile.js | 20 +- .../fourslashServer/navto_serverExcludeLib.js | 16 +- .../tsserver/fourslashServer/ngProxy1.js | 20 +- .../tsserver/fourslashServer/ngProxy2.js | 20 +- .../tsserver/fourslashServer/ngProxy3.js | 20 +- .../tsserver/fourslashServer/ngProxy4.js | 20 +- .../nodeNextModuleKindCaching1.js | 20 +- .../nodeNextPathCompletions.js | 18 +- .../tsserver/fourslashServer/openFile.js | 18 +- .../pasteEdits_addInNextLine.js | 18 +- .../pasteEdits_blankTargetFile.js | 20 +- .../pasteEdits_existingImports1.js | 20 +- .../pasteEdits_existingImports2.js | 20 +- .../pasteEdits_knownSourceFile.js | 20 +- .../pasteEdits_multiplePastes1.js | 20 +- .../pasteEdits_multiplePastes2.js | 20 +- .../pasteEdits_multiplePastes3.js | 20 +- .../pasteEdits_multiplePastes4.js | 20 +- ..._multiplePastesConsistentlyLargerInSize.js | 18 +- ...multiplePastesConsistentlySmallerInSize.js | 18 +- .../pasteEdits_multiplePastesEqualInSize.js | 18 +- ...multiplePastesGrowingAndShrinkingInSize.js | 18 +- .../pasteEdits_multiplePastesGrowingInSize.js | 20 +- ...asteEdits_multiplePastesShrinkingInSize.js | 20 +- .../pasteEdits_noImportNeeded.js | 18 +- ...steEdits_noImportNeededInUpdatedProgram.js | 18 +- .../pasteEdits_pasteComments.js | 16 +- .../pasteEdits_pasteIntoSameFile.js | 16 +- .../pasteEdits_revertUpdatedFile.js | 20 +- .../pasteEdits_unknownSourceFile.js | 18 +- .../tsserver/fourslashServer/projectInfo02.js | 18 +- .../projectWithNonExistentFiles.js | 20 +- .../referencesInConfiguredProject.js | 18 +- ...ferencesInEmptyFileWithMultipleProjects.js | 32 +- ...nStringLiteralValueWithMultipleProjects.js | 32 +- .../renameInConfiguredProject.js | 18 +- .../fourslashServer/renameNamedImport.js | 61 +- .../fourslashServer/renameNamespaceImport.js | 61 +- .../tripleSlashReferenceResolutionMode.js | 20 +- .../tsconfigComputedPropertyError.js | 16 +- ...le-to-and-from-folder-canUseWatchEvents.js | 20 +- ...rks-when-moving-file-to-and-from-folder.js | 20 +- ...rks-with-file-moved-to-inferred-project.js | 18 +- .../works-with-multiple-projects.js | 34 +- ...e-existance-on-the-disk-with-updateOpen.js | 20 +- ...after-seeing-file-existance-on-the-disk.js | 20 +- ...sk-closed-before-change-with-updateOpen.js | 20 +- ...stance-on-the-disk-closed-before-change.js | 20 +- ...e-existance-on-the-disk-with-updateOpen.js | 20 +- ...efore-seeing-file-existance-on-the-disk.js | 20 +- .../array-destructuring-declaration.js | 18 +- .../const-variable-declaration.js | 18 +- .../nested-object-declaration.js | 18 +- ...nces-that-renames-destructured-property.js | 18 +- .../object-destructuring-declaration.js | 18 +- .../should-get-file-references.js | 20 +- ...ould-skip-lineText-from-file-references.js | 20 +- ...en-moving-non-jsx-content-from-jsx-file.js | 18 +- ...en-moving-non-tsx-content-from-tsx-file.js | 18 +- .../skips-lib.d.ts-files.js | 20 +- ...ggests-only-.js-file-for-a-.js-filepath.js | 20 +- ...ggests-only-.ts-file-for-a-.ts-filepath.js | 20 +- ...excluding-node_modules-within-a-project.js | 20 +- .../does-not-issue-errors-on-jsdoc-in-TS.js | 20 +- .../does-not-issue-errors-on-jsdoc-in-TS2.js | 20 +- .../import-helpers-successfully.js | 40 +- ...-project-created-while-opening-the-file.js | 16 +- ...project-if-useOneInferredProject-is-set.js | 83 +- ...Open-request-does-not-corrupt-documents.js | 20 +- ...-string-for-a-working-link-in-a-comment.js | 20 +- ...y-parts-for-a-working-link-in-a-comment.js | 20 +- ...-string-for-a-working-link-in-a-comment.js | 20 +- ...y-parts-for-a-working-link-in-a-comment.js | 20 +- ...-string-for-a-working-link-in-a-comment.js | 20 +- ...de-a-string-for-a-working-link-in-a-tag.js | 20 +- ...y-parts-for-a-working-link-in-a-comment.js | 20 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 20 +- ...-string-for-a-working-link-in-a-comment.js | 20 +- ...de-a-string-for-a-working-link-in-a-tag.js | 20 +- ...-a-span-for-a-working-link-in-a-comment.js | 20 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 20 +- ...-string-for-a-working-link-in-a-comment.js | 20 +- ...y-parts-for-a-working-link-in-a-comment.js | 20 +- ...-string-for-a-working-link-in-a-comment.js | 20 +- ...y-parts-for-a-working-link-in-a-comment.js | 20 +- ...ame-file-under-differing-paths-settings.js | 40 +- .../with-config-with-redirection.js | 20 +- .../tsserver/libraryResolution/with-config.js | 20 +- ...metadata-when-the-command-returns-array.js | 20 +- ...etadata-when-the-command-returns-object.js | 20 +- .../returns-undefined-correctly.js | 20 +- .../moduleResolution/alternateResult.js | 20 +- ...en-package-json-with-type-module-exists.js | 20 +- .../package-json-file-is-edited.js | 20 +- .../using-referenced-project-built.js | 20 +- .../using-referenced-project.js | 20 +- .../caches-importability-within-a-file.js | 20 +- .../caches-module-specifiers-within-a-file.js | 20 +- ...date-the-cache-when-new-files-are-added.js | 20 +- ...n-in-contained-node_modules-directories.js | 20 +- ...he-cache-when-local-packageJson-changes.js | 20 +- ...-when-module-resolution-settings-change.js | 20 +- ...ache-when-symlinks-are-added-or-removed.js | 20 +- ...-the-cache-when-user-preferences-change.js | 20 +- ...ate-symbols-when-searching-all-projects.js | 18 +- .../navTo/should-de-duplicate-symbols.js | 38 +- .../navTo/should-not-include-type-symbols.js | 20 +- .../navTo/should-work-with-Deprecated.js | 20 +- .../openfile/can-open-same-file-again.js | 16 +- .../different-content-refreshes-sourceFile.js | 18 +- .../openfile/does-not-refresh-sourceFile.js | 18 +- ...ot-refresh-sourceFile-if-contents-match.js | 18 +- ...ile-and-then-close-refreshes-sourceFile.js | 18 +- ...ot-is-used-with-case-insensitive-system.js | 18 +- ...root-is-used-with-case-sensitive-system.js | 34 +- ...ject-even-if-project-refresh-is-pending.js | 16 +- ...re-added,-caches-them,-and-watches-them.js | 12 +- ...ultiple-package.json-files-when-present.js | 12 +- ...r-deletion,-and-removes-them-from-cache.js | 12 +- .../handles-empty-package.json.js | 12 +- ...-errors-in-json-parsing-of-package.json.js | 12 +- .../tsserver/pasteEdits/adds-paste-edits.js | 18 +- .../tsserver/plugins/With-global-plugins.js | 16 +- .../tsserver/plugins/With-local-plugins.js | 20 +- ...ith-session-and-custom-protocol-message.js | 20 +- .../getSupportedCodeFixes-can-be-proxied.js | 20 +- ...-external-files-with-config-file-reload.js | 20 +- ...on-ts-extensions-with-wildcard-matching.js | 20 +- ...LS-to-get-program-and-update-is-pending.js | 20 +- ...criptKind-changes-for-the-external-file.js | 18 +- ...ferred-closed-before-plugins-are-loaded.js | 16 +- ...-generated-when-the-config-file-changes.js | 16 +- ...when-the-config-file-doesnt-have-errors.js | 16 +- ...nerated-when-the-config-file-has-errors.js | 16 +- ...-file-opened-and-config-file-has-errors.js | 16 +- ...le-opened-and-doesnt-contain-any-errors.js | 16 +- ...rs-but-suppressDiagnosticEvents-is-true.js | 16 +- ...s-contains-the-project-reference-errors.js | 20 +- ...ts---diagnostics-for-corrupted-config-1.js | 18 +- ...ts---diagnostics-for-corrupted-config-2.js | 18 +- ...rojects---diagnostics-for-missing-files.js | 18 +- ...-same-ambient-module-and-is-also-module.js | 16 +- ...iagnostics-after-noUnusedLabels-changes.js | 18 +- .../document-is-not-contained-in-project.js | 16 +- ...long-to-common-root-with-declarationDir.js | 20 +- ...s-when-files-dont-belong-to-common-root.js | 20 +- .../projectErrors/file-rename-on-wsl2.js | 20 +- ...project-structure-and-reports-no-errors.js | 20 +- ...-when-timeout-occurs-after-installation.js | 16 +- ...n-timeout-occurs-inbetween-installation.js | 16 +- ...hen-json-is-root-file-found-by-tsconfig.js | 20 +- ...json-is-not-root-file-found-by-tsconfig.js | 20 +- .../projectErrors/when-options-change.js | 20 +- ...-global-error-gerErr-with-sync-commands.js | 16 +- ...or-returns-includes-global-error-getErr.js | 16 +- ...-includes-global-error-geterrForProject.js | 16 +- ...-as-project-build-with-external-project.js | 20 +- ...-on-dependency-and-change-to-dependency.js | 20 +- .../save-on-dependency-and-change-to-usage.js | 20 +- ...pendency-and-local-change-to-dependency.js | 20 +- ...on-dependency-and-local-change-to-usage.js | 20 +- ...y-with-project-and-change-to-dependency.js | 20 +- ...ndency-with-project-and-change-to-usage.js | 20 +- ...-project-and-local-change-to-dependency.js | 20 +- ...-with-project-and-local-change-to-usage.js | 20 +- .../save-on-dependency-with-project.js | 20 +- ...-usage-project-and-change-to-dependency.js | 20 +- ...-with-usage-project-and-change-to-usage.js | 20 +- ...-project-and-local-change-to-dependency.js | 20 +- ...usage-project-and-local-change-to-usage.js | 20 +- .../save-on-dependency-with-usage-project.js | 20 +- .../save-on-dependency.js | 20 +- .../save-on-usage-and-change-to-dependency.js | 20 +- .../save-on-usage-and-change-to-usage.js | 20 +- ...nd-local-change-to-dependency-with-file.js | 20 +- ...on-usage-and-local-change-to-dependency.js | 20 +- ...-and-local-change-to-usage-with-project.js | 20 +- ...save-on-usage-and-local-change-to-usage.js | 20 +- ...e-with-project-and-change-to-dependency.js | 20 +- ...-usage-with-project-and-change-to-usage.js | 20 +- .../save-on-usage-with-project.js | 20 +- .../save-on-usage.js | 20 +- ...-on-dependency-and-change-to-dependency.js | 20 +- ...-save-on-dependency-and-change-to-usage.js | 20 +- ...pendency-and-local-change-to-dependency.js | 20 +- ...on-dependency-and-local-change-to-usage.js | 20 +- ...y-with-project-and-change-to-dependency.js | 20 +- ...ndency-with-project-and-change-to-usage.js | 20 +- ...-project-and-local-change-to-dependency.js | 20 +- ...-with-project-and-local-change-to-usage.js | 20 +- ...pen-and-save-on-dependency-with-project.js | 20 +- ...ject-is-not-open-and-save-on-dependency.js | 20 +- ...save-on-usage-and-change-to-depenedency.js | 20 +- ...n-and-save-on-usage-and-change-to-usage.js | 20 +- ...on-usage-and-local-change-to-dependency.js | 20 +- ...save-on-usage-and-local-change-to-usage.js | 20 +- ...-with-project-and-change-to-depenedency.js | 20 +- ...-usage-with-project-and-change-to-usage.js | 20 +- ...-project-and-local-change-to-dependency.js | 20 +- ...-with-project-and-local-change-to-usage.js | 20 +- ...not-open-and-save-on-usage-with-project.js | 20 +- ...y-project-is-not-open-and-save-on-usage.js | 20 +- ...roject-are-different-from-usage-project.js | 20 +- ...t-is-not-open-gerErr-with-sync-commands.js | 20 +- ...n-dependency-project-is-not-open-getErr.js | 20 +- ...cy-project-is-not-open-geterrForProject.js | 20 +- ...-file-is-open-gerErr-with-sync-commands.js | 20 +- ...-when-the-depedency-file-is-open-getErr.js | 20 +- ...depedency-file-is-open-geterrForProject.js | 20 +- ...t-is-not-open-gerErr-with-sync-commands.js | 20 +- ...n-dependency-project-is-not-open-getErr.js | 20 +- ...cy-project-is-not-open-geterrForProject.js | 20 +- ...-file-is-open-gerErr-with-sync-commands.js | 20 +- ...-when-the-depedency-file-is-open-getErr.js | 20 +- ...depedency-file-is-open-geterrForProject.js | 20 +- .../ancestor-and-project-ref-management.js | 22 +- ...disableSourceOfProjectReferenceRedirect.js | 20 +- ...port-with-referenced-project-when-built.js | 20 +- .../auto-import-with-referenced-project.js | 20 +- ...ssfully-find-references-with-out-option.js | 22 +- ...indirect-project-but-not-in-another-one.js | 316 ++--- ...dProjectLoad-is-set-in-indirect-project.js | 1077 ++++++----------- ...-if-disableReferencedProjectLoad-is-set.js | 284 +---- ...-are-disabled-and-a-decl-map-is-missing.js | 20 +- ...-are-disabled-and-a-decl-map-is-present.js | 20 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 20 +- ...s-are-enabled-and-a-decl-map-is-present.js | 20 +- ...-are-disabled-and-a-decl-map-is-missing.js | 20 +- ...-are-disabled-and-a-decl-map-is-present.js | 20 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 20 +- ...s-are-enabled-and-a-decl-map-is-present.js | 20 +- ...-are-disabled-and-a-decl-map-is-missing.js | 20 +- ...-are-disabled-and-a-decl-map-is-present.js | 20 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 20 +- ...s-are-enabled-and-a-decl-map-is-present.js | 20 +- ...-are-disabled-and-a-decl-map-is-missing.js | 20 +- ...-are-disabled-and-a-decl-map-is-present.js | 22 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 22 +- ...s-are-enabled-and-a-decl-map-is-present.js | 22 +- ...-doesnt-load-ancestor-sibling-projects.js} | 20 +- ...ding-references-in-overlapping-projects.js | 22 +- ...solution-is-built-with-preserveSymlinks.js | 20 +- ...-and-has-index.ts-and-solution-is-built.js | 20 +- ...tion-is-not-built-with-preserveSymlinks.js | 20 +- ...-has-index.ts-and-solution-is-not-built.js | 20 +- ...solution-is-built-with-preserveSymlinks.js | 20 +- ...th-scoped-package-and-solution-is-built.js | 20 +- ...tion-is-not-built-with-preserveSymlinks.js | 20 +- ...coped-package-and-solution-is-not-built.js | 20 +- ...solution-is-built-with-preserveSymlinks.js | 20 +- ...le-from-subFolder-and-solution-is-built.js | 20 +- ...tion-is-not-built-with-preserveSymlinks.js | 20 +- ...rom-subFolder-and-solution-is-not-built.js | 20 +- ...solution-is-built-with-preserveSymlinks.js | 20 +- ...th-scoped-package-and-solution-is-built.js | 20 +- ...tion-is-not-built-with-preserveSymlinks.js | 20 +- ...coped-package-and-solution-is-not-built.js | 20 +- ...disableSourceOfProjectReferenceRedirect.js | 21 +- ...ect-when-referenced-project-is-not-open.js | 20 +- ...disableSourceOfProjectReferenceRedirect.js | 21 +- ...project-when-referenced-project-is-open.js | 20 +- ...ject-is-directly-referenced-by-solution.js | 791 +++++------- ...ct-is-indirectly-referenced-by-solution.js | 934 ++++++-------- ...erenced-project-with-preserveConstEnums.js | 20 +- ...om-composite-and-non-composite-projects.js | 40 +- ...nced-project-and-using-declaration-maps.js | 40 +- ...ot-file-is-file-from-referenced-project.js | 40 +- ...indirect-project-but-not-in-another-one.js | 63 +- ...dProjectLoad-is-set-in-indirect-project.js | 449 +------ ...-if-disableReferencedProjectLoad-is-set.js | 60 +- ...ces-open-file-through-project-reference.js | 116 +- ...ct-is-indirectly-referenced-by-solution.js | 122 +- ...nction-as-object-literal-property-types.js | 22 +- ...row-function-as-object-literal-property.js | 22 +- ...ss-when-using-arrow-function-assignment.js | 22 +- ...s-when-using-method-of-class-expression.js | 22 +- ...ness-when-using-object-literal-property.js | 22 +- ...-composite-with-file-open-before-revert.js | 403 +++--- ...nfig-tree-found-appConfig-not-composite.js | 403 +++--- ...fig-change-with-file-open-before-revert.js | 217 +--- ...rst-config-tree-found-demoConfig-change.js | 217 +--- ...config-tree-found-finds-default-project.js | 215 +--- ...first-config-tree-found-reload-projects.js | 230 +--- ...fig-delete-with-file-open-before-revert.js | 198 +-- ...config-tree-found-solutionConfig-delete.js | 198 +-- ...ce-to-demo-with-file-open-before-revert.js | 212 +--- ...olutionConfig-without-reference-to-demo.js | 206 +--- ...cts-are-open-and-one-project-references.js | 20 +- ...ts-have-allowJs-and-emitDeclarationOnly.js | 20 +- ...ng-solution-and-siblings-are-not-loaded.js | 20 +- .../with-dts-file-next-to-ts-file.js | 130 +- ...ts-change-as-rename-action-before-write.js | 36 +- ...endency-dts-change-as-rename-no-timeout.js | 36 +- ...s-change-as-rename-timeout-after-delete.js | 36 +- ...ts-change-as-rename-timeout-after-write.js | 36 +- ...dts-changes-with-timeout-before-request.js | 36 +- .../dependency-dts-changes.js | 36 +- .../dependency-dts-created.js | 36 +- .../dependency-dts-deleted.js | 36 +- .../dependency-dts-not-present.js | 36 +- ...s-rewrite-as-rename-action-before-write.js | 36 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...s-rewrite-as-rename-timeout-after-write.js | 36 +- ...ap-change-as-rename-action-before-write.js | 36 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 36 +- ...p-change-as-rename-timeout-after-delete.js | 36 +- ...ap-change-as-rename-timeout-after-write.js | 36 +- ...Map-changes-with-timeout-before-request.js | 36 +- .../dependency-dtsMap-changes.js | 36 +- .../dependency-dtsMap-created.js | 36 +- .../dependency-dtsMap-deleted.js | 36 +- .../dependency-dtsMap-not-present.js | 36 +- ...p-rewrite-as-rename-action-before-write.js | 36 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...p-rewrite-as-rename-timeout-after-write.js | 36 +- .../configHasNoReference/rename-locations.js | 36 +- ...ile-changes-with-timeout-before-request.js | 36 +- .../usage-file-changes.js | 36 +- ...ts-change-as-rename-action-before-write.js | 36 +- ...endency-dts-change-as-rename-no-timeout.js | 36 +- ...s-change-as-rename-timeout-after-delete.js | 36 +- ...ts-change-as-rename-timeout-after-write.js | 36 +- ...dts-changes-with-timeout-before-request.js | 36 +- .../dependency-dts-changes.js | 36 +- .../dependency-dts-created.js | 36 +- .../dependency-dts-deleted.js | 36 +- .../dependency-dts-not-present.js | 36 +- ...s-rewrite-as-rename-action-before-write.js | 36 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...s-rewrite-as-rename-timeout-after-write.js | 36 +- ...ap-change-as-rename-action-before-write.js | 36 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 36 +- ...p-change-as-rename-timeout-after-delete.js | 36 +- ...ap-change-as-rename-timeout-after-write.js | 36 +- ...Map-changes-with-timeout-before-request.js | 36 +- .../dependency-dtsMap-changes.js | 36 +- .../dependency-dtsMap-created.js | 36 +- .../dependency-dtsMap-deleted.js | 36 +- .../dependency-dtsMap-not-present.js | 36 +- ...p-rewrite-as-rename-action-before-write.js | 36 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...p-rewrite-as-rename-timeout-after-write.js | 36 +- ...rce-changes-with-timeout-before-request.js | 36 +- .../dependency-source-changes.js | 36 +- .../configWithReference/rename-locations.js | 36 +- ...ile-changes-with-timeout-before-request.js | 36 +- .../configWithReference/usage-file-changes.js | 36 +- .../when-projects-are-not-built.js | 36 +- ...ts-change-as-rename-action-before-write.js | 36 +- ...endency-dts-change-as-rename-no-timeout.js | 36 +- ...s-change-as-rename-timeout-after-delete.js | 36 +- ...ts-change-as-rename-timeout-after-write.js | 36 +- ...dts-changes-with-timeout-before-request.js | 36 +- .../dependency-dts-changes.js | 36 +- .../dependency-dts-created.js | 36 +- .../dependency-dts-deleted.js | 36 +- .../dependency-dts-not-present.js | 36 +- ...s-rewrite-as-rename-action-before-write.js | 36 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...s-rewrite-as-rename-timeout-after-write.js | 36 +- ...ap-change-as-rename-action-before-write.js | 36 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 36 +- ...p-change-as-rename-timeout-after-delete.js | 36 +- ...ap-change-as-rename-timeout-after-write.js | 36 +- ...Map-changes-with-timeout-before-request.js | 36 +- .../dependency-dtsMap-changes.js | 36 +- .../dependency-dtsMap-created.js | 36 +- .../dependency-dtsMap-deleted.js | 36 +- .../dependency-dtsMap-not-present.js | 36 +- ...p-rewrite-as-rename-action-before-write.js | 36 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...p-rewrite-as-rename-timeout-after-write.js | 36 +- .../disabledSourceRef/rename-locations.js | 36 +- ...ile-changes-with-timeout-before-request.js | 36 +- .../disabledSourceRef/usage-file-changes.js | 36 +- ...ts-change-as-rename-action-before-write.js | 56 +- ...endency-dts-change-as-rename-no-timeout.js | 56 +- ...s-change-as-rename-timeout-after-delete.js | 56 +- ...ts-change-as-rename-timeout-after-write.js | 56 +- ...dts-changes-with-timeout-before-request.js | 56 +- .../dependency-dts-changes.js | 56 +- .../dependency-dts-created.js | 56 +- .../dependency-dts-deleted.js | 56 +- .../dependency-dts-not-present.js | 56 +- ...s-rewrite-as-rename-action-before-write.js | 56 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 56 +- ...-rewrite-as-rename-timeout-after-delete.js | 56 +- ...s-rewrite-as-rename-timeout-after-write.js | 56 +- ...ap-change-as-rename-action-before-write.js | 56 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 56 +- ...p-change-as-rename-timeout-after-delete.js | 56 +- ...ap-change-as-rename-timeout-after-write.js | 56 +- ...Map-changes-with-timeout-before-request.js | 56 +- .../dependency-dtsMap-changes.js | 56 +- .../dependency-dtsMap-created.js | 56 +- .../dependency-dtsMap-deleted.js | 56 +- .../dependency-dtsMap-not-present.js | 56 +- ...p-rewrite-as-rename-action-before-write.js | 56 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 56 +- ...-rewrite-as-rename-timeout-after-delete.js | 56 +- ...p-rewrite-as-rename-timeout-after-write.js | 56 +- ...name-locations-and-deleting-config-file.js | 58 +- .../goToDef-and-rename-locations.js | 56 +- ...ile-changes-with-timeout-before-request.js | 56 +- .../usage-file-changes.js | 56 +- ...ts-change-as-rename-action-before-write.js | 36 +- ...endency-dts-change-as-rename-no-timeout.js | 36 +- ...s-change-as-rename-timeout-after-delete.js | 36 +- ...ts-change-as-rename-timeout-after-write.js | 36 +- ...dts-changes-with-timeout-before-request.js | 36 +- .../dependency-dts-changes.js | 36 +- .../dependency-dts-created.js | 36 +- .../dependency-dts-deleted.js | 36 +- .../dependency-dts-not-present.js | 36 +- ...s-rewrite-as-rename-action-before-write.js | 36 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...s-rewrite-as-rename-timeout-after-write.js | 36 +- ...ap-change-as-rename-action-before-write.js | 36 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 36 +- ...p-change-as-rename-timeout-after-delete.js | 36 +- ...ap-change-as-rename-timeout-after-write.js | 36 +- ...Map-changes-with-timeout-before-request.js | 36 +- .../dependency-dtsMap-changes.js | 36 +- .../dependency-dtsMap-created.js | 36 +- .../dependency-dtsMap-deleted.js | 36 +- .../dependency-dtsMap-not-present.js | 36 +- ...p-rewrite-as-rename-action-before-write.js | 36 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...p-rewrite-as-rename-timeout-after-write.js | 36 +- ...rce-changes-with-timeout-before-request.js | 36 +- .../dependency-source-changes.js | 36 +- ...name-locations-and-deleting-config-file.js | 115 +- .../goToDef-and-rename-locations.js | 36 +- ...ile-changes-with-timeout-before-request.js | 36 +- .../configWithReference/usage-file-changes.js | 36 +- .../when-projects-are-not-built.js | 36 +- ...ts-change-as-rename-action-before-write.js | 36 +- ...endency-dts-change-as-rename-no-timeout.js | 36 +- ...s-change-as-rename-timeout-after-delete.js | 36 +- ...ts-change-as-rename-timeout-after-write.js | 36 +- ...dts-changes-with-timeout-before-request.js | 36 +- .../dependency-dts-changes.js | 36 +- .../dependency-dts-created.js | 36 +- .../dependency-dts-deleted.js | 36 +- .../dependency-dts-not-present.js | 36 +- ...s-rewrite-as-rename-action-before-write.js | 36 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...s-rewrite-as-rename-timeout-after-write.js | 36 +- ...ap-change-as-rename-action-before-write.js | 36 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 36 +- ...p-change-as-rename-timeout-after-delete.js | 36 +- ...ap-change-as-rename-timeout-after-write.js | 36 +- ...Map-changes-with-timeout-before-request.js | 36 +- .../dependency-dtsMap-changes.js | 36 +- .../dependency-dtsMap-created.js | 36 +- .../dependency-dtsMap-deleted.js | 36 +- .../dependency-dtsMap-not-present.js | 36 +- ...p-rewrite-as-rename-action-before-write.js | 36 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...p-rewrite-as-rename-timeout-after-write.js | 36 +- ...name-locations-and-deleting-config-file.js | 54 +- .../goToDef-and-rename-locations.js | 36 +- ...ile-changes-with-timeout-before-request.js | 36 +- .../disabledSourceRef/usage-file-changes.js | 36 +- .../can-go-to-definition-correctly.js | 36 +- ...ts-change-as-rename-action-before-write.js | 36 +- ...endency-dts-change-as-rename-no-timeout.js | 36 +- ...s-change-as-rename-timeout-after-delete.js | 36 +- ...ts-change-as-rename-timeout-after-write.js | 36 +- ...dts-changes-with-timeout-before-request.js | 36 +- .../dependency-dts-changes.js | 36 +- .../dependency-dts-created.js | 36 +- .../dependency-dts-deleted.js | 36 +- .../dependency-dts-not-present.js | 36 +- ...s-rewrite-as-rename-action-before-write.js | 36 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...s-rewrite-as-rename-timeout-after-write.js | 36 +- ...ap-change-as-rename-action-before-write.js | 36 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 36 +- ...p-change-as-rename-timeout-after-delete.js | 36 +- ...ap-change-as-rename-timeout-after-write.js | 36 +- ...Map-changes-with-timeout-before-request.js | 36 +- .../dependency-dtsMap-changes.js | 36 +- .../dependency-dtsMap-created.js | 36 +- .../dependency-dtsMap-deleted.js | 36 +- .../dependency-dtsMap-not-present.js | 36 +- ...p-rewrite-as-rename-action-before-write.js | 36 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...p-rewrite-as-rename-timeout-after-write.js | 36 +- ...ile-changes-with-timeout-before-request.js | 36 +- .../usage-file-changes.js | 36 +- .../can-go-to-definition-correctly.js | 36 +- ...ts-change-as-rename-action-before-write.js | 36 +- ...endency-dts-change-as-rename-no-timeout.js | 36 +- ...s-change-as-rename-timeout-after-delete.js | 36 +- ...ts-change-as-rename-timeout-after-write.js | 36 +- ...dts-changes-with-timeout-before-request.js | 36 +- .../dependency-dts-changes.js | 36 +- .../dependency-dts-created.js | 36 +- .../dependency-dts-deleted.js | 36 +- .../dependency-dts-not-present.js | 36 +- ...s-rewrite-as-rename-action-before-write.js | 36 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...s-rewrite-as-rename-timeout-after-write.js | 36 +- ...ap-change-as-rename-action-before-write.js | 36 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 36 +- ...p-change-as-rename-timeout-after-delete.js | 36 +- ...ap-change-as-rename-timeout-after-write.js | 36 +- ...Map-changes-with-timeout-before-request.js | 36 +- .../dependency-dtsMap-changes.js | 36 +- .../dependency-dtsMap-created.js | 36 +- .../dependency-dtsMap-deleted.js | 36 +- .../dependency-dtsMap-not-present.js | 36 +- ...p-rewrite-as-rename-action-before-write.js | 36 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...p-rewrite-as-rename-timeout-after-write.js | 36 +- ...rce-changes-with-timeout-before-request.js | 36 +- .../dependency-source-changes.js | 36 +- ...ile-changes-with-timeout-before-request.js | 36 +- .../configWithReference/usage-file-changes.js | 36 +- .../when-projects-are-not-built.js | 36 +- .../can-go-to-definition-correctly.js | 36 +- ...ts-change-as-rename-action-before-write.js | 36 +- ...endency-dts-change-as-rename-no-timeout.js | 36 +- ...s-change-as-rename-timeout-after-delete.js | 36 +- ...ts-change-as-rename-timeout-after-write.js | 36 +- ...dts-changes-with-timeout-before-request.js | 36 +- .../dependency-dts-changes.js | 36 +- .../dependency-dts-created.js | 36 +- .../dependency-dts-deleted.js | 36 +- .../dependency-dts-not-present.js | 36 +- ...s-rewrite-as-rename-action-before-write.js | 36 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...s-rewrite-as-rename-timeout-after-write.js | 36 +- ...ap-change-as-rename-action-before-write.js | 36 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 36 +- ...p-change-as-rename-timeout-after-delete.js | 36 +- ...ap-change-as-rename-timeout-after-write.js | 36 +- ...Map-changes-with-timeout-before-request.js | 36 +- .../dependency-dtsMap-changes.js | 36 +- .../dependency-dtsMap-created.js | 36 +- .../dependency-dtsMap-deleted.js | 36 +- .../dependency-dtsMap-not-present.js | 36 +- ...p-rewrite-as-rename-action-before-write.js | 36 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 36 +- ...-rewrite-as-rename-timeout-after-delete.js | 36 +- ...p-rewrite-as-rename-timeout-after-write.js | 36 +- ...ile-changes-with-timeout-before-request.js | 36 +- .../disabledSourceRef/usage-file-changes.js | 36 +- ...-referenced-project-and-shared-is-first.js | 20 +- ...en-root-file-is-from-referenced-project.js | 20 +- ...projects-at-opened-and-closed-correctly.js | 32 +- ...-are-handled-correctly-on-watch-trigger.js | 18 +- .../Properly-handle-Windows-style-outDir.js | 18 +- .../projects/config-file-is-deleted.js | 18 +- ...folders-for-default-configured-projects.js | 32 +- ...configured-project-that-will-be-removed.js | 36 +- ...-and-closed-affecting-multiple-projects.js | 16 +- ...getting-project-from-orphan-script-info.js | 16 +- ...directory-watch-invoke-on-file-creation.js | 18 +- ...configured-project-that-will-be-removed.js | 40 +- .../loading-files-with-correct-priority.js | 18 +- ...irectory-watch-invoke-on-open-file-save.js | 16 +- ...tsconfig-script-block-diagnostic-errors.js | 92 +- ...configured-project-that-will-be-removed.js | 36 +- ...Reload-but-has-svc-for-previous-version.js | 18 +- ...iles-excluded-from-a-configured-project.js | 18 +- ...t-provides-redirect-info-when-requested.js | 40 +- ...updates-to-redirect-info-when-requested.js | 40 +- ...resolved-and-redirect-info-is-requested.js | 18 +- ...e-configuration-file-cannot-be-resolved.js | 18 +- .../projects/tsconfig-script-block-support.js | 38 +- .../projectsWithReferences/sample-project.js | 20 +- ...es-with-deleting-referenced-config-file.js | 28 +- ...ing-transitively-referenced-config-file.js | 28 +- ...ces-with-edit-in-referenced-config-file.js | 20 +- ...ive-references-with-edit-on-config-file.js | 20 +- ...ansitive-references-with-non-local-edit.js | 20 +- ...es-with-deleting-referenced-config-file.js | 28 +- ...ing-transitively-referenced-config-file.js | 28 +- ...les-with-edit-in-referenced-config-file.js | 20 +- ...-without-files-with-edit-on-config-file.js | 20 +- ...ences-without-files-with-non-local-edit.js | 20 +- ...ndles-canonicalization-of-tsconfig-path.js | 16 +- ...es-moving-statement-to-an-existing-file.js | 18 +- ...-that-is-not-included-in-the-TS-project.js | 16 +- ...dles-moving-statements-to-a-non-TS-file.js | 16 +- .../handles-text-changes-in-tsconfig.js | 16 +- .../region-does-not-have-suggestion.js | 20 +- .../region-has-suggestion.js | 20 +- .../reloadProjects/configured-project.js | 80 +- .../with-symlinks-and-case-difference.js | 18 +- ...unnecessary-lookup-invalidation-on-save.js | 18 +- ...le-name-from-files-in-different-folders.js | 20 +- ...e-module-name-from-files-in-same-folder.js | 20 +- .../not-sharing-across-references.js | 20 +- ...le-name-from-files-in-different-folders.js | 20 +- ...e-module-name-from-files-in-same-folder.js | 20 +- ...tore-the-states-for-configured-projects.js | 18 +- .../sharing-across-references.js | 20 +- ...-from-config-file-path-if-config-exists.js | 20 +- ...exists-but-does-not-specifies-typeRoots.js | 20 +- .../resolutionCache/when-resolution-fails.js | 20 +- .../when-resolves-to-ambient-module.js | 20 +- ...wild-card-directories-in-config-project.js | 16 +- ...ectly-when-typings-are-added-or-removed.js | 16 +- ...r-in-configured-js-project-with-tscheck.js | 20 +- ...rror-in-configured-project-with-tscheck.js | 20 +- ...eclaration-files-with-skipLibCheck=true.js | 20 +- ...tion-when-project-compiles-from-sources.js | 16 +- ...s-in-typings-folder-and-then-recompiles.js | 16 +- ...mpiles-after-deleting-generated-folders.js | 16 +- ...ping-when-project-compiles-from-sources.js | 20 +- ...s-in-typings-folder-and-then-recompiles.js | 20 +- ...mpiles-after-deleting-generated-folders.js | 20 +- ...kages-symlinked-Linux-canUseWatchEvents.js | 20 +- ...-style-sibling-packages-symlinked-Linux.js | 20 +- ...ng-packages-symlinked-canUseWatchEvents.js | 20 +- ...-package1-built-Linux-canUseWatchEvents.js | 20 +- ...packages-symlinked-package1-built-Linux.js | 20 +- ...linked-package1-built-canUseWatchEvents.js | 20 +- ...bling-packages-symlinked-package1-built.js | 20 +- ...norepo-style-sibling-packages-symlinked.js | 20 +- ...-project-folder-Linux-canUseWatchEvents.js | 18 +- .../packages-outside-project-folder-Linux.js | 18 +- ...-project-folder-MacOs-canUseWatchEvents.js | 18 +- .../packages-outside-project-folder-MacOs.js | 18 +- ...roject-folder-Windows-canUseWatchEvents.js | 18 +- ...packages-outside-project-folder-Windows.js | 18 +- ...ct-folder-built-Linux-canUseWatchEvents.js | 18 +- ...ages-outside-project-folder-built-Linux.js | 18 +- ...ct-folder-built-MacOs-canUseWatchEvents.js | 18 +- ...ages-outside-project-folder-built-MacOs.js | 18 +- ...-folder-built-Windows-canUseWatchEvents.js | 18 +- ...es-outside-project-folder-built-Windows.js | 18 +- ...name-in-common-file-renames-all-project.js | 40 +- ...ences-resolution-after-program-creation.js | 20 +- ...emoved-and-added-with-different-content.js | 16 +- .../telemetry/counts-files-by-extension.js | 20 +- ...s-whether-language-service-was-disabled.js | 20 +- .../telemetry/does-not-expose-paths.js | 20 +- ...ven-for-project-with-ts-check-in-config.js | 20 +- .../telemetry/only-sends-an-event-once.js | 32 +- ...es,-include,-exclude,-and-compileOnSave.js | 16 +- .../sends-telemetry-for-file-sizes.js | 20 +- ...-telemetry-for-typeAcquisition-settings.js | 20 +- .../prefer-typings-in-second-pass.js | 20 +- ...enceDirective-contains-UpperCasePackage.js | 20 +- ...s-relative-path-and-in-a-sibling-folder.js | 20 +- ...projects-discover-from-bower_components.js | 20 +- .../typingsInstaller/configured-projects.js | 18 +- .../typingsInstaller/discover-from-bower.js | 20 +- ...rom-node_modules-empty-types-has-import.js | 20 +- .../discover-from-node_modules-empty-types.js | 20 +- ...scover-from-node_modules-explicit-types.js | 20 +- .../discover-from-node_modules.js | 20 +- .../local-module-should-not-be-picked-up.js | 20 +- .../typingsInstaller/multiple-projects.js | 36 +- .../typingsInstaller/scoped-name-discovery.js | 20 +- .../watchEnvironment/files-at-root.js | 18 +- .../files-at-windows-style-root.js | 18 +- .../watchEnvironment/files-not-at-root.js | 18 +- .../files-not-at-windows-style-root.js | 18 +- .../perVolumeCasing-and-new-file-addition.js | 16 +- ...files-starting-with-dot-in-node_modules.js | 18 +- ...polling-when-file-is-added-to-subfolder.js | 20 +- ...rectory-when-file-is-added-to-subfolder.js | 20 +- ...tchFile-when-file-is-added-to-subfolder.js | 20 +- ...ere-workspaces-folder-is-hosted-at-root.js | 16 +- ...en-watchFile-is-single-watcher-per-file.js | 20 +- ...excludeDirectories-option-in-configFile.js | 20 +- ...ludeDirectories-option-in-configuration.js | 20 +- ...ackPolling-option-as-host-configuration.js | 18 +- ...th-fallbackPolling-option-in-configFile.js | 20 +- ...hDirectory-option-as-host-configuration.js | 18 +- ...ith-watchDirectory-option-in-configFile.js | 20 +- ...-watchFile-option-as-host-configuration.js | 18 +- .../with-watchFile-option-in-configFile.js | 20 +- .../server/getFileReferences_deduplicate.ts | 2 + .../server/getFileReferences_server2.ts | 4 +- 1064 files changed, 17488 insertions(+), 21074 deletions(-) rename tests/baselines/reference/tsserver/projectReferences/{finding-local-reference-doesnt-load-ancestor/sibling-projects.js => finding-local-reference-doesnt-load-ancestor-sibling-projects.js} (99%) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 902c235c25f01..9d38ec9169a4c 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -3242,13 +3242,25 @@ function shouldReportNoInputFiles(fileNames: string[], canJsonReportNoInutFiles: return fileNames.length === 0 && canJsonReportNoInutFiles && (!resolutionStack || resolutionStack.length === 0); } +/** @internal */ +export function isSolutionConfig(config: ParsedCommandLine) { + return !config.fileNames.length && + hasProperty(config.raw, "references"); +} + /** @internal */ export function canJsonReportNoInputFiles(raw: any) { return !hasProperty(raw, "files") && !hasProperty(raw, "references"); } /** @internal */ -export function updateErrorForNoInputFiles(fileNames: string[], configFileName: string, configFileSpecs: ConfigFileSpecs, configParseDiagnostics: Diagnostic[], canJsonReportNoInutFiles: boolean) { +export function updateErrorForNoInputFiles( + fileNames: string[], + configFileName: string, + configFileSpecs: ConfigFileSpecs, + configParseDiagnostics: Diagnostic[], + canJsonReportNoInutFiles: boolean, +) { const existingErrors = configParseDiagnostics.length; if (shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles)) { configParseDiagnostics.push(getErrorForNoInputFiles(configFileSpecs, configFileName)); @@ -3952,7 +3964,8 @@ export function matchesExclude( ); } -function matchesExcludeWorker( +/** @internal */ +export function matchesExcludeWorker( pathToCheck: string, excludeSpecs: readonly string[] | undefined, useCaseSensitiveFileNames: boolean, diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 3230699eba3c0..e24a0ae98dc71 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -79,6 +79,7 @@ import { isIncrementalBuildInfo, isIncrementalCompilation, isPackageJsonInfo, + isSolutionConfig, loadWithModeAwareCache, maybeBind, missingFileModifiedTime, @@ -1223,7 +1224,13 @@ function getNextInvalidatedProjectCreateInfo( else if (updateLevel === ProgramUpdateLevel.RootNamesAndUpdate) { // Update file names config.fileNames = getFileNamesFromConfigSpecs(config.options.configFile!.configFileSpecs!, getDirectoryPath(project), config.options, state.parseConfigFileHost); - updateErrorForNoInputFiles(config.fileNames, project, config.options.configFile!.configFileSpecs!, config.errors, canJsonReportNoInputFiles(config.raw)); + updateErrorForNoInputFiles( + config.fileNames, + project, + config.options.configFile!.configFileSpecs!, + config.errors, + canJsonReportNoInputFiles(config.raw), + ); watchInputFiles(state, project, projectPath, config); watchPackageJsonFiles(state, project, projectPath, config); } @@ -1448,11 +1455,7 @@ function checkConfigFileUpToDateStatus(state: Solution function getUpToDateStatusWorker(state: SolutionBuilderState, project: ParsedCommandLine, resolvedPath: ResolvedConfigFilePath): UpToDateStatus { // Container if no files are specified in the project - if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) { - return { - type: UpToDateStatusType.ContainerOnly, - }; - } + if (isSolutionConfig(project)) return { type: UpToDateStatusType.ContainerOnly }; // Fast check to see if reference projects are upto date and error free let referenceStatuses; diff --git a/src/compiler/watchPublic.ts b/src/compiler/watchPublic.ts index 0e77ead8d6af8..e54ac21440743 100644 --- a/src/compiler/watchPublic.ts +++ b/src/compiler/watchPublic.ts @@ -925,7 +925,15 @@ export function createWatchProgram(host: WatchCompiler updateLevel = ProgramUpdateLevel.Update; rootFileNames = getFileNamesFromConfigSpecs(compilerOptions.configFile!.configFileSpecs!, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), compilerOptions, parseConfigFileHost, extraFileExtensions); - if (updateErrorForNoInputFiles(rootFileNames, getNormalizedAbsolutePath(configFileName, currentDirectory), compilerOptions.configFile!.configFileSpecs!, configFileParsingDiagnostics!, canConfigFileJsonReportNoInputFiles)) { + if ( + updateErrorForNoInputFiles( + rootFileNames, + getNormalizedAbsolutePath(configFileName, currentDirectory), + compilerOptions.configFile!.configFileSpecs!, + configFileParsingDiagnostics!, + canConfigFileJsonReportNoInputFiles, + ) + ) { hasChangedConfigFileParsingErrors = true; } diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index a12a16272f48b..519cc911b2959 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -3,7 +3,6 @@ import { arrayFrom, AssertionLevel, CachedDirectoryStructureHost, - canJsonReportNoInputFiles, canWatchDirectoryOrFilePath, cleanExtendedConfigCache, clearMap, @@ -56,6 +55,8 @@ import { getFileNamesFromConfigSpecs, getFileWatcherEventKind, getNormalizedAbsolutePath, + getPatternFromSpec, + getRegexFromPattern, getSnapshotText, getWatchFactory, handleWatchOptionsConfigDirTemplateSubstitution, @@ -73,17 +74,19 @@ import { isJsonEqual, isNodeModulesDirectory, isRootedDiskPath, + isSolutionConfig, isString, + isSupportedSourceFileName, JSDocParsingMode, LanguageServiceMode, length, map, mapDefinedIterator, + matchesExcludeWorker, memoize, missingFileModifiedTime, MultiMap, noop, - normalizePath, normalizeSlashes, notImplemented, optionDeclarations, @@ -180,6 +183,8 @@ import { ProjectKind, ProjectOptions, ScriptInfo, + scriptInfoIsContainedByBackgroundProject, + scriptInfoIsContainedByDeferredClosedProject, ServerHost, Session, SetTypings, @@ -526,7 +531,7 @@ export interface OpenConfiguredProjectResult { } interface AssignProjectResult extends OpenConfiguredProjectResult { - retainProjects: Set | undefined; + retainProjects: ConfigureProjectToLoadKind | undefined; } interface FilePropertyReader { @@ -706,38 +711,62 @@ function isAncestorConfigFileInfo(infoOrFileNameOrConfig: OpenScriptInfoOrClosed /** @internal */ export enum ConfiguredProjectLoadKind { + FindOptimized, Find, + CreateOptimized, Create, + ReloadOptimized, Reload, } -/** @internal */ -export interface DefaultConfiguredProjectResult { - defaultProject: ConfiguredProject | undefined; - sentConfigDiag: Set; - seenProjects: Set; +type ConguredProjectLoadFindCreateOrReload = + | ConfiguredProjectLoadKind.Find + | ConfiguredProjectLoadKind.Create + | ConfiguredProjectLoadKind.Reload; + +type ConguredProjectLoadFindCreateOrReloadOptimized = + | ConfiguredProjectLoadKind.FindOptimized + | ConfiguredProjectLoadKind.CreateOptimized + | ConfiguredProjectLoadKind.ReloadOptimized; + +function toConfiguredProjectLoadOptimized(kind: ConguredProjectLoadFindCreateOrReload): ConguredProjectLoadFindCreateOrReloadOptimized { + return kind - 1; } +/** @internal */ +export type ConfigureProjectToLoadKind = Map; + +/** @internal */ +export type ConfiguredProjectToAnyReloadKind = Map< + ConfiguredProject, + | ConfiguredProjectLoadKind.Reload + | ConfiguredProjectLoadKind.ReloadOptimized +>; + +type DefaultConfiguredProjectResult = ReturnType; + /** @internal */ export interface FindCreateOrLoadConfiguredProjectResult { project: ConfiguredProject; sentConfigFileDiag: boolean; + configFileExistenceInfo: ConfigFileExistenceInfo | undefined; + reason: string | undefined; } /** * Goes through each tsconfig from project till project root of open script info and finds, creates or reloads project per kind */ -function forEachAncestorProject( +function forEachAncestorProjectLoad( info: ScriptInfo, project: ConfiguredProject, - cb: (ancestor: ConfiguredProject) => T | undefined, + cb: (ancestor: FindCreateOrLoadConfiguredProjectResult) => T | undefined, kind: ConfiguredProjectLoadKind, /** Used with ConfiguredProjectLoadKind.Create or ConfiguredProjectLoadKind.Reload for new projects or reload updates */ reason: string, /** Used with ConfiguredProjectLoadKind.Find to get deferredClosed projects as well */ allowDeferredClosed: boolean | undefined, /** Used with ConfiguredProjectLoadKind.Reload to check if this project was already reloaded */ - reloadedProjects: Set | undefined, + reloadedProjects: ConfiguredProjectToAnyReloadKind | undefined, /** true means we are looking for solution, so we can stop if found project is not composite to go into parent solution */ searchOnlyPotentialSolution: boolean, /** Used with ConfiguredProjectLoadKind.Reload to specify delay reload, and also a set of configured projects already marked for delay load */ @@ -747,23 +776,27 @@ function forEachAncestorProject( while (true) { // Skip if project is not composite and we are only looking for solution if ( - !project.initialLoadPending && + project.parsedCommandLine && ( - (searchOnlyPotentialSolution && !project.getCompilerOptions().composite) || + (searchOnlyPotentialSolution && !project.parsedCommandLine.options.composite) || // Currently disableSolutionSearching is shared for finding solution/project when // - loading solution for find all references // - trying to find default project - project.getCompilerOptions().disableSolutionSearching + project.parsedCommandLine.options.disableSolutionSearching ) ) return; // Get config file name - const configFileName = project.projectService.getConfigFileNameForFile({ - fileName: project.getConfigFilePath(), - path: info.path, - configFileInfo: true, - isForDefaultProject: !searchOnlyPotentialSolution, - }, kind === ConfiguredProjectLoadKind.Find); + const configFileName = project.projectService.getConfigFileNameForFile( + { + fileName: project.getConfigFilePath(), + path: info.path, + configFileInfo: true, + isForDefaultProject: !searchOnlyPotentialSolution, + }, + kind === ConfiguredProjectLoadKind.Find || + kind === ConfiguredProjectLoadKind.FindOptimized, + ); if (!configFileName) return; // find or delay load the project @@ -781,159 +814,158 @@ function forEachAncestorProject( // If this ancestor is new and was delay loaded, then set the project as potential project reference if ( - ancestor.project.initialLoadPending && - project.getCompilerOptions().composite + !ancestor.project.parsedCommandLine && + project.parsedCommandLine?.options.composite ) { // Set a potential project reference - // Debug.assert(ancestor.); ancestor.project.setPotentialProjectReference(project.canonicalConfigFilePath); } - const result = cb(ancestor.project); + const result = cb(ancestor); if (result) return result; project = ancestor.project; } } /** - * Goes through project's resolved project references and finds, creates or reloads project per kind - * If project for this resolved reference exists its used immediately otherwise, - * follows all references in order, deciding if references of the visited project can be loaded or not + * Goes through parentConfig's project references and finds, creates or reloads project per kind */ -function forEachResolvedProjectReferenceProject( +function forEachResolvedProjectReferenceProjectLoad( project: ConfiguredProject, - fileName: string | undefined, - cb: (child: ConfiguredProject, sentConfigFileDiag: boolean) => T | undefined, - kind: ConfiguredProjectLoadKind, + parentConfig: ParsedCommandLine, + cb: ( + childConfigFileExistenceInfo: ConfigFileExistenceInfo, + childProject: ConfiguredProject | undefined, + childConfigName: NormalizedPath, + reason: string, + project: ConfiguredProject, + childCanonicalConfigPath: NormalizedPath, + ) => T | undefined, + kind: ConguredProjectLoadFindCreateOrReloadOptimized, reason: string, /** Used with ConfiguredProjectLoadKind.Find to get deferredClosed projects as well */ - allowDeferredClosed?: boolean, - /** Used with ConfiguredProjectLoadKind.Create to send configFileDiag */ - triggerFile?: NormalizedPath, + allowDeferredClosed: boolean | undefined, /** Used with ConfiguredProjectLoadKind.Reload to check if this project was already reloaded */ - reloadedProjects?: Set, -): T | undefined { - const resolvedRefs = project.getCurrentProgram()?.getResolvedProjectReferences(); - if (!resolvedRefs) return undefined; - const possibleDefaultRef = fileName ? project.getResolvedProjectReferenceToRedirect(fileName) : undefined; - if (possibleDefaultRef) { - // Try to find the name of the file directly through resolved project references - const configFileName = toNormalizedPath(possibleDefaultRef.sourceFile.fileName); - // We are not using findCreateOrLoadConfiguredProject with kind thats passed in since - // we want to determine if we can really create a new project if it doesnt exist - // based on following references and determining based on disableReferencedProjectLoad - const child = project.projectService.findConfiguredProjectByProjectName( - configFileName, - allowDeferredClosed, - ); - if (child) { - const result = callbackWithProjectFoundUsingFind(child); - if (result) return result; - } - else if (kind !== ConfiguredProjectLoadKind.Find) { - // Try to see if this project can be loaded and load only that one instead of loading all the projects - const result = forEachResolvedProjectReferenceProjectWorker( - resolvedRefs, - project.getCompilerOptions(), - (ref, loadKind) => possibleDefaultRef === ref ? callback(ref, loadKind) : undefined, - kind, - project.projectService, - ); - if (result) return result; - } - } - - return forEachResolvedProjectReferenceProjectWorker( - resolvedRefs, - project.getCompilerOptions(), - (ref, loadKind) => possibleDefaultRef !== ref ? callback(ref, loadKind) : undefined, - kind, - project.projectService, - ); - - function callback(ref: ResolvedProjectReference, loadKind: ConfiguredProjectLoadKind) { - const result = project.projectService.findCreateOrReloadConfiguredProject( - toNormalizedPath(ref.sourceFile.fileName), - loadKind, - reason, - allowDeferredClosed, - triggerFile, - reloadedProjects, - ); - return result && ( - loadKind === kind ? - cb(result.project, result.sentConfigFileDiag) : - callbackWithProjectFoundUsingFind(result.project) - ); - } - - function callbackWithProjectFoundUsingFind(child: ConfiguredProject) { - let sentConfigFileDiag = false; - // This project was found using "Find" instead of the actually specified kind of "Create" or "Reload", - // We need to update or reload this existing project before calling callback - switch (kind) { - case ConfiguredProjectLoadKind.Create: - sentConfigFileDiag = updateConfiguredProject(child, triggerFile); - break; - case ConfiguredProjectLoadKind.Reload: - sentConfigFileDiag = child.projectService.reloadConfiguredProjectClearingSemanticCache(child, reason, reloadedProjects!); - break; - case ConfiguredProjectLoadKind.Find: - break; - default: - Debug.assertNever(kind); - } - const result = cb(child, sentConfigFileDiag); - if (result) return result; - } -} - -function forEachResolvedProjectReferenceProjectWorker( - resolvedProjectReferences: readonly (ResolvedProjectReference | undefined)[], - parentOptions: CompilerOptions, - cb: (resolvedRef: ResolvedProjectReference, loadKind: ConfiguredProjectLoadKind) => T | undefined, - kind: ConfiguredProjectLoadKind, - projectService: ProjectService, + reloadedProjects: ConfiguredProjectToAnyReloadKind | undefined, seenResolvedRefs?: Map, ): T | undefined { - const loadKind = parentOptions.disableReferencedProjectLoad ? ConfiguredProjectLoadKind.Find : kind; - let skipChildren: Set | undefined; + const loadKind = parentConfig.options.disableReferencedProjectLoad ? ConfiguredProjectLoadKind.FindOptimized : kind; + let children: ParsedCommandLine[] | undefined; return forEach( - resolvedProjectReferences, + parentConfig.projectReferences, ref => { - if (!ref) return undefined; - const configFileName = toNormalizedPath(ref.sourceFile.fileName); - const canonicalPath = projectService.toCanonicalFileName(configFileName); - const seenValue = seenResolvedRefs?.get(canonicalPath); - if (seenValue !== undefined && seenValue >= loadKind) { - (skipChildren ??= new Set()).add(ref); - return undefined; + const childConfigName = toNormalizedPath(resolveProjectReferencePath(ref)); + const childCanonicalConfigPath = asNormalizedPath(project.projectService.toCanonicalFileName(childConfigName)); + + const seenValue = seenResolvedRefs?.get(childCanonicalConfigPath); + if (seenValue !== undefined && seenValue >= loadKind) return undefined; + + // Get the config + const configFileExistenceInfo = project.projectService.configFileExistenceInfoCache.get(childCanonicalConfigPath); + let childConfig = loadKind === ConfiguredProjectLoadKind.FindOptimized ? + configFileExistenceInfo?.exists || project.resolvedChildConfigs?.has(childCanonicalConfigPath) ? + configFileExistenceInfo!.config!.parsedCommandLine : undefined : + project.getParsedCommandLine(childConfigName); + if (childConfig && loadKind !== kind) { + // If this was found using find: ensure this is uptodate if looking for creating or reloading + childConfig = project.getParsedCommandLine(childConfigName); + } + if (!childConfig) return undefined; + + // Find the project + const childProject = project.projectService.findConfiguredProjectByProjectName(childConfigName, allowDeferredClosed); + switch (loadKind) { + case ConfiguredProjectLoadKind.ReloadOptimized: + if (childProject) childProject.projectService.reloadConfiguredProjectOptimized(childProject, reason, reloadedProjects!); + // falls through + case ConfiguredProjectLoadKind.CreateOptimized: + (project.resolvedChildConfigs ??= new Set()).add(childCanonicalConfigPath); + // falls through + case ConfiguredProjectLoadKind.FindOptimized: + if (childProject || loadKind !== ConfiguredProjectLoadKind.FindOptimized) { + const result = cb( + configFileExistenceInfo ?? project.projectService.configFileExistenceInfoCache.get(childCanonicalConfigPath)!, + childProject, + childConfigName, + reason, + project, + childCanonicalConfigPath, + ); + if (result) return result; + } + break; + default: + Debug.assertNever(loadKind); } - const result = cb(ref, loadKind); - if (result) return result; - (seenResolvedRefs ??= new Map()).set(canonicalPath, loadKind); + (seenResolvedRefs ??= new Map()).set(childCanonicalConfigPath, loadKind); + (children ??= []).push(childConfig); }, ) || forEach( - resolvedProjectReferences, - ref => - ref?.references && !skipChildren?.has(ref) ? - forEachResolvedProjectReferenceProjectWorker( - ref.references, - ref.commandLine.options, - cb, - loadKind, - projectService, - seenResolvedRefs, - ) : - undefined, + children, + childConfig => + childConfig.projectReferences && forEachResolvedProjectReferenceProjectLoad( + project, + childConfig, + cb, + loadKind, + reason, + allowDeferredClosed, + reloadedProjects, + seenResolvedRefs, + ), ); } +function updateProjectFoundUsingFind( + project: ConfiguredProject, + kind: ConfiguredProjectLoadKind, + /** Used with ConfiguredProjectLoadKind.Create to send configFileDiag */ + triggerFile?: NormalizedPath | undefined, + /** Used with ConfiguredProjectLoadKind.Reload to for reload reason */ + reason?: string, + /** Used with ConfiguredProjectLoadKind.Reload to check if this project was already reloaded */ + reloadedProjects?: ConfiguredProjectToAnyReloadKind | undefined, +): FindCreateOrLoadConfiguredProjectResult { + let sentConfigFileDiag = false; + let configFileExistenceInfo: ConfigFileExistenceInfo | undefined; + // This project was found using "Find" instead of the actually specified kind of "Create" or "Reload", + // We need to update or reload this existing project before calling callback + switch (kind) { + case ConfiguredProjectLoadKind.CreateOptimized: + configFileExistenceInfo = configFileExistenceInfoForOptimizedLoading(project); + if (configFileExistenceInfo) break; + // falls through + case ConfiguredProjectLoadKind.Create: + sentConfigFileDiag = updateConfiguredProject(project, triggerFile); + break; + case ConfiguredProjectLoadKind.ReloadOptimized: + project.projectService.reloadConfiguredProjectOptimized(project, reason!, reloadedProjects!); + configFileExistenceInfo = configFileExistenceInfoForOptimizedLoading(project); + if (configFileExistenceInfo) break; + // falls through + case ConfiguredProjectLoadKind.Reload: + sentConfigFileDiag = project.projectService.reloadConfiguredProjectClearingSemanticCache( + project, + reason!, + reloadedProjects!, + ); + break; + case ConfiguredProjectLoadKind.FindOptimized: + case ConfiguredProjectLoadKind.Find: + break; + default: + Debug.assertNever(kind); + } + return { project, sentConfigFileDiag, configFileExistenceInfo, reason }; +} + function forEachPotentialProjectReference( project: ConfiguredProject, cb: (potentialProjectReference: NormalizedPath) => T | undefined, ): T | undefined { - return project.potentialProjectReferences && - forEachKey(project.potentialProjectReferences, cb); + return project.initialLoadPending ? + (project.potentialProjectReferences && forEachKey(project.potentialProjectReferences, cb)) ?? + (project.resolvedChildConfigs && forEachKey(project.resolvedChildConfigs, cb)) : + undefined; } function forEachAnyProjectReferenceKind( @@ -1032,6 +1064,24 @@ function updateConfiguredProject(project: ConfiguredProject, triggerFile: Normal return false; } +function configFileExistenceInfoForOptimizedLoading(project: ConfiguredProject) { + const configFileName = toNormalizedPath(project.getConfigFilePath()); + const configFileExistenceInfo = project.projectService.ensureParsedConfigUptoDate( + configFileName, + project.canonicalConfigFilePath, + project.projectService.configFileExistenceInfoCache.get(project.canonicalConfigFilePath)!, + project, + ); + const parsedCommandLine = configFileExistenceInfo.config!.parsedCommandLine!; + project.parsedCommandLine = parsedCommandLine; + project.resolvedChildConfigs = undefined; + project.updateReferences(parsedCommandLine.projectReferences); + // Composite can determine based on files themselves, no need to load project + if (parsedCommandLine.options.composite) return configFileExistenceInfo; + // If solution, no need to load it to determine if file belongs to it + if (isSolutionConfig(parsedCommandLine)) return configFileExistenceInfo; +} + function fileOpenReason(info: ScriptInfo) { return `Creating possible configured project for ${info.fileName} to open`; } @@ -2005,12 +2055,14 @@ export class ProjectService { let scheduledAnyProjectUpdate = false; // Update projects watching cached config configFileExistenceInfo.config.updateLevel = ProgramUpdateLevel.Full; + configFileExistenceInfo.config.cachedDirectoryStructureHost.clearCache(); configFileExistenceInfo.config.projects.forEach((_watchWildcardDirectories, projectCanonicalPath) => { const project = this.getConfiguredProjectByCanonicalConfigFilePath(projectCanonicalPath); if (!project) return; scheduledAnyProjectUpdate = true; + if (projectCanonicalPath === canonicalConfigFilePath) { // Skip refresh if project is not yet loaded if (project.initialLoadPending) return; @@ -2020,6 +2072,21 @@ export class ProjectService { project.markAutoImportProviderAsDirty(); } else { + // Any files impacted by config of project, need to update their open project + if (project.initialLoadPending) { + this.configFileExistenceInfoCache.get(projectCanonicalPath)?.openFilesImpactedByConfigFile?.forEach(path => { + // Cache the existing config file info for this open file if not already done so + if (!this.pendingOpenFileProjectUpdates?.has(path)) { + (this.pendingOpenFileProjectUpdates ??= new Map()).set( + path, + this.configFileForOpenFiles.get(path), + ); + } + }); + // Skip refresh if project is not yet loaded + return; + } + // Change in referenced project config file const path = this.toPath(canonicalConfigFilePath); project.resolutionCache.removeResolutionsFromProjectReferenceRedirects(path); @@ -2063,7 +2130,6 @@ export class ProjectService { "Change in config file detected", ); - const updatedProjects = new Set(project ? [project] : undefined); this.openFiles.forEach((_projectRootPath, path) => { const configFileForOpenFile = this.configFileForOpenFiles.get(path); @@ -2077,23 +2143,10 @@ export class ProjectService { const newConfigFileNameForInfo = this.getConfigFileNameForFile(info, /*findFromCacheOnly*/ false); if (!newConfigFileNameForInfo) return; - // Create new project for this open file with delay load - const projectForInfo = this.findConfiguredProjectByProjectName(newConfigFileNameForInfo) ?? - this.createConfiguredProject( - newConfigFileNameForInfo, - `Change in config file ${configFileName} detected, ${fileOpenReason(info)}`, - ); - // Cache the existing config file info for this open file if not already done so if (!this.pendingOpenFileProjectUpdates?.has(path)) { (this.pendingOpenFileProjectUpdates ??= new Map()).set(path, configFileForOpenFile); } - - // If this was not already updated, and its new project, schedule for update - // Existing projects dont need to update if they were not using the changed config in any way - if (tryAddToSet(updatedProjects, projectForInfo) && projectForInfo.initialLoadPending) { - this.delayUpdateProjectGraph(projectForInfo); - } }); // Ensure that all the open files have project @@ -2349,6 +2402,10 @@ export class ProjectService { forProject, ); } + this.ensureConfigFileWatcherForProject(configFileExistenceInfo, forProject); + } + + private ensureConfigFileWatcherForProject(configFileExistenceInfo: ConfigFileExistenceInfo, forProject: ConfiguredProject) { // Watching config file for project, update the map const projects = configFileExistenceInfo.config!.projects; projects.set(forProject.canonicalConfigFilePath, projects.get(forProject.canonicalConfigFilePath) || false); @@ -2803,7 +2860,7 @@ export class ProjectService { this.sendProjectLoadingStartEvent(project, reason); // Read updated contents from disk - const configFilename = asNormalizedPath(normalizePath(project.getConfigFilePath())); + const configFilename = toNormalizedPath(project.getConfigFilePath()); const configFileExistenceInfo = this.ensureParsedConfigUptoDate( configFilename, project.canonicalConfigFilePath, @@ -2823,7 +2880,7 @@ export class ProjectService { configHasExcludeProperty: parsedCommandLine.raw.exclude !== undefined, }; } - project.canConfigFileJsonReportNoInputFiles = canJsonReportNoInputFiles(parsedCommandLine.raw); + project.parsedCommandLine = parsedCommandLine; project.setProjectErrors(parsedCommandLine.options.configFile!.parseDiagnostics); project.updateReferences(parsedCommandLine.projectReferences); const lastFileExceededProgramSize = this.getFilenameForExceededTotalSizeLimitForNonTsFiles(project.canonicalConfigFilePath, compilerOptions, parsedCommandLine.fileNames, fileNamePropertyReader); @@ -2844,15 +2901,29 @@ export class ProjectService { } /** @internal */ - ensureParsedConfigUptoDate(configFilename: NormalizedPath, canonicalConfigFilePath: NormalizedPath, configFileExistenceInfo: ConfigFileExistenceInfo, forProject: ConfiguredProject): ConfigFileExistenceInfo { + ensureParsedConfigUptoDate( + configFilename: NormalizedPath, + canonicalConfigFilePath: NormalizedPath, + configFileExistenceInfo: ConfigFileExistenceInfo, + forProject: ConfiguredProject, + ): ConfigFileExistenceInfo { if (configFileExistenceInfo.config) { - if (!configFileExistenceInfo.config.updateLevel) return configFileExistenceInfo; if (configFileExistenceInfo.config.updateLevel === ProgramUpdateLevel.RootNamesAndUpdate) { this.reloadFileNamesOfParsedConfig(configFilename, configFileExistenceInfo.config); + } + if (!configFileExistenceInfo.config.updateLevel) { + this.ensureConfigFileWatcherForProject(configFileExistenceInfo, forProject); return configFileExistenceInfo; } } + // Dont update if file isnt on the disk + if (!configFileExistenceInfo.exists && configFileExistenceInfo.config) { + configFileExistenceInfo.config.updateLevel = undefined; + this.ensureConfigFileWatcherForProject(configFileExistenceInfo, forProject); + return configFileExistenceInfo; + } + // Parse the config file and ensure its cached const cachedDirectoryStructureHost = configFileExistenceInfo.config?.cachedDirectoryStructureHost || createCachedDirectoryStructureHost(this.host, this.host.getCurrentDirectory(), this.host.useCaseSensitiveFileNames)!; @@ -3074,15 +3145,19 @@ export class ProjectService { * @internal */ reloadFileNamesOfConfiguredProject(project: ConfiguredProject) { - const fileNames = this.reloadFileNamesOfParsedConfig(project.getConfigFilePath(), this.configFileExistenceInfoCache.get(project.canonicalConfigFilePath)!.config!); - project.updateErrorOnNoInputFiles(fileNames); - this.updateNonInferredProjectFiles(project, fileNames.concat(project.getExternalFiles(ProgramUpdateLevel.RootNamesAndUpdate)), fileNamePropertyReader); + const config = this.reloadFileNamesOfParsedConfig(project.getConfigFilePath(), this.configFileExistenceInfoCache.get(project.canonicalConfigFilePath)!.config!); + project.updateErrorOnNoInputFiles(config); + this.updateNonInferredProjectFiles( + project, + config.fileNames.concat(project.getExternalFiles(ProgramUpdateLevel.RootNamesAndUpdate)), + fileNamePropertyReader, + ); project.markAsDirty(); return project.updateGraph(); } private reloadFileNamesOfParsedConfig(configFileName: NormalizedPath, config: ParsedConfig) { - if (config.updateLevel === undefined) return config.parsedCommandLine!.fileNames; + if (config.updateLevel === undefined) return config.parsedCommandLine!; Debug.assert(config.updateLevel === ProgramUpdateLevel.RootNamesAndUpdate); const configFileSpecs = config.parsedCommandLine!.options.configFile!.configFileSpecs!; const fileNames = getFileNamesFromConfigSpecs( @@ -3093,7 +3168,8 @@ export class ProjectService { this.hostConfiguration.extraFileExtensions, ); config.parsedCommandLine = { ...config.parsedCommandLine!, fileNames }; - return fileNames; + config.updateLevel = undefined; + return config.parsedCommandLine; } /** @internal */ @@ -3104,18 +3180,51 @@ export class ProjectService { this.updateNonInferredProjectFiles(project, fileNames, fileNamePropertyReader); } + /** @internal */ + reloadConfiguredProjectOptimized( + project: ConfiguredProject, + reason: string, + reloadedProjects: ConfiguredProjectToAnyReloadKind, + ) { + if (reloadedProjects.has(project)) return; + reloadedProjects.set(project, ConfiguredProjectLoadKind.ReloadOptimized); + if (!project.initialLoadPending) { + this.setProjectForReload(project, ProgramUpdateLevel.Full, reason); + } + } + /** @internal */ reloadConfiguredProjectClearingSemanticCache( project: ConfiguredProject, reason: string, - reloadedProjects: Set, + reloadedProjects: ConfiguredProjectToAnyReloadKind, ) { - if (!tryAddToSet(reloadedProjects, project)) return false; + if (reloadedProjects.get(project) === ConfiguredProjectLoadKind.Reload) return false; + reloadedProjects.set(project, ConfiguredProjectLoadKind.Reload); this.clearSemanticCache(project); this.reloadConfiguredProject(project, reloadReason(reason)); return true; } + private setProjectForReload( + project: ConfiguredProject, + updateLevel: ProgramUpdateLevel.Full, + reason: string | undefined, + ): void; + private setProjectForReload( + project: ConfiguredProject, + updateLevel: ProgramUpdateLevel.Update, + ): void; + private setProjectForReload( + project: ConfiguredProject, + updateLevel: ProgramUpdateLevel, + reason?: string, + ) { + if (updateLevel === ProgramUpdateLevel.Full) this.clearSemanticCache(project); + project.pendingUpdateReason = reason && reloadReason(reason); + project.pendingUpdateLevel = updateLevel; + } + /** * Read the config file of the project again by clearing the cache and update the project graph * @@ -3123,15 +3232,7 @@ export class ProjectService { */ reloadConfiguredProject(project: ConfiguredProject, reason: string) { project.initialLoadPending = false; - project.pendingUpdateReason = undefined; - project.pendingUpdateLevel = ProgramUpdateLevel.Update; - - // At this point, there is no reason to not have configFile in the host - const host = project.getCachedDirectoryStructureHost(); - - // Clear the cache since we are reloading the project from disk - host.clearCache(); - + this.setProjectForReload(project, ProgramUpdateLevel.Update); // Load project from the disk this.loadConfiguredProject(project, reason); updateWithTriggerFile(project, project.triggerFileForConfigFileDiag ?? project.getConfigFilePath(), /*isReload*/ true); @@ -3937,7 +4038,10 @@ export class ProjectService { // Ensure everything is reloaded for cached configs this.configFileExistenceInfoCache.forEach(info => { - if (info.config) info.config.updateLevel = ProgramUpdateLevel.Full; + if (info.config) { + info.config.updateLevel = ProgramUpdateLevel.Full; + info.config.cachedDirectoryStructureHost.clearCache(); + } }); this.configFileForOpenFiles.clear(); @@ -3948,18 +4052,13 @@ export class ProjectService { }); // Configured projects of external files - const reloadedConfiguredProjects = new Set(); + const reloadedConfiguredProjects: ConfiguredProjectToAnyReloadKind = new Map(); const delayReloadedConfiguredProjects = new Set(); this.externalProjectToConfiguredProjectMap.forEach((projects, externalProjectName) => { const reason = `Reloading configured project in external project: ${externalProjectName}`; projects.forEach(project => { if (this.getHostPreferences().lazyConfiguredProjectsFromExternalProject) { - if (!project.initialLoadPending) { - this.clearSemanticCache(project); - project.pendingUpdateLevel = ProgramUpdateLevel.Full; - project.pendingUpdateReason = reloadReason(reason); - } - delayReloadedConfiguredProjects.add(project); + this.reloadConfiguredProjectOptimized(project, reason, reloadedConfiguredProjects); } else { this.reloadConfiguredProjectClearingSemanticCache( @@ -3984,7 +4083,7 @@ export class ProjectService { }); // Retain delay loaded configured projects too - delayReloadedConfiguredProjects.forEach(p => reloadedConfiguredProjects.add(p)); + delayReloadedConfiguredProjects.forEach(p => reloadedConfiguredProjects.set(p, ConfiguredProjectLoadKind.Reload)); this.inferredProjects.forEach(project => this.clearSemanticCache(project)); this.ensureProjectForOpenFiles(); @@ -4116,30 +4215,20 @@ export class ProjectService { configuredProject = this.createConfiguredProject(configFileName, `Creating project for original file: ${originalFileInfo.fileName}${location !== originalLocation ? " for location: " + location.fileName : ""}`); } - updateProjectIfDirty(configuredProject); - - const projectContainsOriginalInfo = (project: ConfiguredProject) => { - const info = this.getScriptInfo(fileName); - return info && - project.containsScriptInfo(info) && - !project.isSourceOfProjectReferenceRedirect(info.path); - }; - - if (configuredProject.isSolution() || !projectContainsOriginalInfo(configuredProject)) { - // Find the project that is referenced from this solution that contains the script info directly - configuredProject = forEachResolvedProjectReferenceProject( + const result = this.tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo( + originalFileInfo, + ConfiguredProjectLoadKind.Create, + updateProjectFoundUsingFind( configuredProject, - fileName, - child => projectContainsOriginalInfo(child) ? child : undefined, - ConfiguredProjectLoadKind.Create, - `Creating project referenced in solution ${configuredProject.projectName} to find possible configured project for original file: ${originalFileInfo.fileName}${location !== originalLocation ? " for location: " + location.fileName : ""}`, - ); - if (!configuredProject) return undefined; - if (configuredProject === project) return originalLocation; - } + ConfiguredProjectLoadKind.CreateOptimized, + ), + project => `Creating project referenced in solution ${project.projectName} to find possible configured project for original file: ${originalFileInfo.fileName}${location !== originalLocation ? " for location: " + location.fileName : ""}`, + ); + if (!result.defaultProject) return undefined; + if (result.defaultProject === project) return originalLocation; // Keep this configured project as referenced from project - addOriginalConfiguredProject(configuredProject); + addOriginalConfiguredProject(result.defaultProject); const originalScriptInfo = this.getScriptInfo(fileName); if (!originalScriptInfo || !originalScriptInfo.containingProjects.length) return undefined; @@ -4195,7 +4284,7 @@ export class ProjectService { let configFileName: NormalizedPath | undefined; let configFileErrors: readonly Diagnostic[] | undefined; const project = this.findExternalProjectContainingOpenScriptInfo(info); - let retainProjects: Set | undefined; + let retainProjects: ConfigureProjectToLoadKind | undefined; let sentConfigDiag: Set | undefined; if (!project && this.serverMode === LanguageServiceMode.Semantic) { // Checking semantic mode is an optimization const result = this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo( @@ -4224,9 +4313,14 @@ export class ProjectService { // At this point if file is part of any any configured or external project, then it would be present in the containing projects // So if it still doesnt have any containing projects, it needs to be part of inferred project if (info.isOrphan()) { - // Even though this info did not belong to any of the configured projects, send the config file diag - retainProjects?.forEach(project => { - if (!sentConfigDiag!.has(project)) this.sendConfigFileDiagEvent(project, info.fileName, /*force*/ true); + // TODO:: sheetal: Do we instead send some kind of event to inform that the file didnt belong to any of the project + // and the reason - esp for projects that we skipped loading + // Even though this info did not belong to any of the configured projects, send the config file diag for all non optimized loads + retainProjects?.forEach((kind, project) => { + if ( + kind !== ConfiguredProjectLoadKind.CreateOptimized && + !sentConfigDiag!.has(project) + ) this.sendConfigFileDiagEvent(project, info.fileName, /*force*/ true); }); Debug.assert(this.openFiles.has(info.path)); this.assignOrphanScriptInfoToInferredProject(info, this.openFiles.get(info.path)); @@ -4252,23 +4346,40 @@ export class ProjectService { /** Used with ConfiguredProjectLoadKind.Create to send configFileDiag */ triggerFile?: NormalizedPath, /** Used with ConfiguredProjectLoadKind.Reload to check if this project was already reloaded */ - reloadedProjects?: Set, + reloadedProjects?: ConfiguredProjectToAnyReloadKind, /** Used with ConfiguredProjectLoadKind.Create to specify only create project without updating */ delayLoad?: boolean, /** Used with ConfiguredProjectLoadKind.Reload to specify delay reload, and also a set of configured projects already marked for delay load */ delayReloadedConfiguredProjects?: Set, + /** project if already known for the config file */ + projectForConfigFile?: ConfiguredProject, ): FindCreateOrLoadConfiguredProjectResult | undefined { - let project = this.findConfiguredProjectByProjectName(configFileName, allowDeferredClosed); + let project = projectForConfigFile ?? this.findConfiguredProjectByProjectName(configFileName, allowDeferredClosed); let sentConfigFileDiag = false; + let configFileExistenceInfo: ConfigFileExistenceInfo | undefined; switch (kind) { + case ConfiguredProjectLoadKind.FindOptimized: case ConfiguredProjectLoadKind.Find: if (!project) return; break; + case ConfiguredProjectLoadKind.CreateOptimized: case ConfiguredProjectLoadKind.Create: project ??= this.createConfiguredProject(configFileName, reason!); - // Ensure project is updated - sentConfigFileDiag = !delayLoad && updateConfiguredProject(project, triggerFile); + if (!delayLoad) { + // Ensure project is updated + ({ sentConfigFileDiag, configFileExistenceInfo } = updateProjectFoundUsingFind( + project, + kind, + triggerFile, + )); + } break; + case ConfiguredProjectLoadKind.ReloadOptimized: + project ??= this.createConfiguredProject(configFileName, reloadReason(reason!)); + project.projectService.reloadConfiguredProjectOptimized(project, reason!, reloadedProjects!); + configFileExistenceInfo = configFileExistenceInfoForOptimizedLoading(project); + if (configFileExistenceInfo) break; + // falls through case ConfiguredProjectLoadKind.Reload: project ??= this.createConfiguredProject(configFileName, reloadReason(reason!)); // Reload immediately if not delayed @@ -4280,15 +4391,14 @@ export class ProjectService { !reloadedProjects!.has(project) ) { // Add to delayed reload - project.pendingUpdateLevel = ProgramUpdateLevel.Full; - project.pendingUpdateReason = reloadReason(reason!); + this.setProjectForReload(project, ProgramUpdateLevel.Full, reason); delayReloadedConfiguredProjects.add(project); } break; default: Debug.assertNever(kind); } - return { project, sentConfigFileDiag }; + return { project, sentConfigFileDiag, configFileExistenceInfo, reason }; } /** @@ -4298,85 +4408,237 @@ export class ProjectService { */ private tryFindDefaultConfiguredProjectForOpenScriptInfo( info: ScriptInfo, - kind: ConfiguredProjectLoadKind, - /** Used with ConfiguredProjectLoadKind.Find to get deferredClosed projects as well */ + kind: ConguredProjectLoadFindCreateOrReload, + /** Used with ConfiguredProjectLoadKind.Find to get deferredClosed projects as well */ allowDeferredClosed?: boolean, /** Used with ConfiguredProjectLoadKind.Reload to check if this project was already reloaded */ - reloadedProjects?: Set, + reloadedProjects?: ConfiguredProjectToAnyReloadKind, ): DefaultConfiguredProjectResult | undefined { const configFileName = this.getConfigFileNameForFile(info, kind === ConfiguredProjectLoadKind.Find); // If no config file name, no result if (!configFileName) return; + // We need to create this project to ensure we can set life time of all the configs we read associated with this project + // We are not actually creating program graph with optimized loading - just config file and root file names + const optimizedKind = toConfiguredProjectLoadOptimized(kind); const result = this.findCreateOrReloadConfiguredProject( configFileName, - kind, + optimizedKind, fileOpenReason(info), allowDeferredClosed, info.fileName, reloadedProjects, ); // If the project for the configFileName does not exist, no result - if (!result) return; + return result && this.tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo( + info, + kind, + result, + project => `Creating project referenced in solution ${project.projectName} to find possible configured project for ${info.fileName} to open`, + allowDeferredClosed, + reloadedProjects, + ); + } - const seenProjects = new Set(); - const sentConfigDiag = new Set(result.sentConfigFileDiag ? [result.project] : undefined); + private isMatchedByConfig( + configFileName: NormalizedPath, + config: ParsedCommandLine, + info: OpenScriptInfoOrClosedFileInfo, + ) { + // If info is root of the file + if (config.fileNames.some(rootName => this.toPath(rootName) === info.path)) return true; + + if ( + isSupportedSourceFileName( + info.fileName, + config.options, + this.hostConfiguration.extraFileExtensions, + ) + ) return false; // We already handled this as part of parsing default file names + + const { validatedFilesSpec, validatedIncludeSpecs, validatedExcludeSpecs } = config.options.configFile!.configFileSpecs!; + + // Matched by file + const basePath = toNormalizedPath(getNormalizedAbsolutePath(getDirectoryPath(configFileName), this.currentDirectory)); + if (validatedFilesSpec?.some(fileSpec => this.toPath(getNormalizedAbsolutePath(fileSpec, basePath)) === info.path)) return true; + + if (!validatedIncludeSpecs?.length) return false; + + // If this is excluded file ignore: + if ( + matchesExcludeWorker( + info.fileName, + validatedExcludeSpecs, + this.host.useCaseSensitiveFileNames, + this.currentDirectory, + basePath, + ) + ) return false; + + // If matched by include + return validatedIncludeSpecs?.some(includeSpec => { + const pattern = getPatternFromSpec(includeSpec, basePath, "files"); + return !!pattern && getRegexFromPattern(`(${pattern})$`, this.host.useCaseSensitiveFileNames).test(info.fileName); + }); + } + + private tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo( + info: OpenScriptInfoOrClosedFileInfo, + kind: ConguredProjectLoadFindCreateOrReload, + initialConfigResult: FindCreateOrLoadConfiguredProjectResult, + referencedProjectReason: (project: ConfiguredProject) => string, + /** Used with ConfiguredProjectLoadKind.Find to get deferredClosed projects as well */ + allowDeferredClosed?: boolean, + /** Used with ConfiguredProjectLoadKind.Reload to check if this project was already reloaded */ + reloadedProjects?: ConfiguredProjectToAnyReloadKind, + ) { + const infoIsOpenScriptInfo = isOpenScriptInfo(info); + const optimizedKind = toConfiguredProjectLoadOptimized(kind); + const seenProjects: ConfigureProjectToLoadKind = new Map(); + let seenConfigs: Set | undefined; + const sentConfigDiag = new Set(); let defaultProject: ConfiguredProject | undefined; let possiblyDefault: ConfiguredProject | undefined; + let tsconfigOfDefault: ConfiguredProject | undefined; + let tsconfigOfPossiblyDefault: ConfiguredProject | undefined; // See if this is the project or is it one of the references or find ancestor projects - tryFindDefaultConfiguredProject(result.project); + tryFindDefaultConfiguredProject(initialConfigResult); return { defaultProject: defaultProject ?? possiblyDefault, + tsconfigProject: tsconfigOfDefault ?? tsconfigOfPossiblyDefault, sentConfigDiag, seenProjects, }; - function tryFindDefaultConfiguredProject(project: ConfiguredProject): ConfiguredProject | undefined { - return isDefaultProject(project) ? - defaultProject : - (tryFindDefaultConfiguredProjectFromReferences(project) ?? - tryFindDefaultConfiguredProjectFromAncestor(project)); + function tryFindDefaultConfiguredProject(result: FindCreateOrLoadConfiguredProjectResult): ConfiguredProject | undefined { + return isDefaultProjectOptimized(result, result.project) ?? + tryFindDefaultConfiguredProjectFromReferences(result.project) ?? + tryFindDefaultConfiguredProjectFromAncestor(result.project); + } + + function isDefaultConfigFileExistenceInfo( + configFileExistenceInfo: ConfigFileExistenceInfo, + project: ConfiguredProject | undefined, + childConfigName: NormalizedPath, + reason: string, + tsconfigProject: ConfiguredProject, + canonicalConfigFilePath?: NormalizedPath, + ) { + // Set seen based on project if present of for config file if its not yet created + if (project) { + if (seenProjects.has(project)) return; + seenProjects.set(project, optimizedKind); + } + else { + if (seenConfigs?.has(canonicalConfigFilePath!)) return; + (seenConfigs ??= new Set()).add(canonicalConfigFilePath!); + } + + // If the file is listed in root files, then only we can use this project as default project + if ( + !tsconfigProject.projectService.isMatchedByConfig( + childConfigName, + configFileExistenceInfo.config!.parsedCommandLine!, + info, + ) + ) { + if (tsconfigProject.languageServiceEnabled) { + // Ensure we are watching the parsedCommandLine + tsconfigProject.projectService.watchWildcards( + childConfigName, + configFileExistenceInfo, + tsconfigProject, + ); + } + return; + } + + // Ensure the project is uptodate and created since the file may belong to this project + const result = project ? + updateProjectFoundUsingFind( + project, + kind, + info.fileName, + reason, + reloadedProjects, + ) : + tsconfigProject.projectService.findCreateOrReloadConfiguredProject( + childConfigName, + kind, + reason, + allowDeferredClosed, + info.fileName, + reloadedProjects, + )!; + seenProjects.set(result.project, optimizedKind); + if (result.sentConfigFileDiag) sentConfigDiag.add(result.project); + return isDefaultProject(result.project, tsconfigProject); } - function isDefaultProject(project: ConfiguredProject): ConfiguredProject | undefined { + function isDefaultProject( + project: ConfiguredProject, + tsconfigProject: ConfiguredProject, + ): ConfiguredProject | undefined { // Skip already looked up projects - if (!tryAddToSet(seenProjects, project)) return; + if (seenProjects.get(project) === kind) return; + seenProjects.set(project, kind); // If script info belongs to this project, use this as default config project - const projectWithInfo = project.containsScriptInfo(info); - if (projectWithInfo && !project.isSourceOfProjectReferenceRedirect(info.path)) return defaultProject = project; + const scriptInfo = infoIsOpenScriptInfo ? info : project.projectService.getScriptInfo(info.fileName); + const projectWithInfo = scriptInfo && project.containsScriptInfo(scriptInfo); + if (projectWithInfo && !project.isSourceOfProjectReferenceRedirect(scriptInfo.path)) { + tsconfigOfDefault = tsconfigProject; + return defaultProject = project; + } // If this project uses the script info, if default project is not found, use this project as possible default - possiblyDefault ??= projectWithInfo ? project : undefined; + if (!possiblyDefault && infoIsOpenScriptInfo && projectWithInfo) { + tsconfigOfPossiblyDefault = tsconfigProject; + possiblyDefault = project; + } + } + + function isDefaultProjectOptimized( + result: FindCreateOrLoadConfiguredProjectResult, + tsconfigProject: ConfiguredProject, + ): ConfiguredProject | undefined { + if (result.sentConfigFileDiag) sentConfigDiag.add(result.project); + return result.configFileExistenceInfo ? + isDefaultConfigFileExistenceInfo( + result.configFileExistenceInfo, + result.project, + toNormalizedPath(result.project.getConfigFilePath()), + result.reason!, + result.project, + result.project.canonicalConfigFilePath, + ) : + isDefaultProject(result.project, tsconfigProject); } function tryFindDefaultConfiguredProjectFromReferences(project: ConfiguredProject) { // If this configured project doesnt contain script info but // if this is solution with project references, try those project references - return forEachResolvedProjectReferenceProject( - project, - info.path, - (child, sentConfigFileDiag) => { - if (sentConfigFileDiag) sentConfigDiag.add(child); - return isDefaultProject(child); - }, - kind, - `Creating project referenced in solution ${project.projectName} to find possible configured project for ${info.fileName} to open`, - allowDeferredClosed, - info.fileName, - reloadedProjects, - ); + return project.parsedCommandLine && + forEachResolvedProjectReferenceProjectLoad( + project, + project.parsedCommandLine, + isDefaultConfigFileExistenceInfo, + optimizedKind, + referencedProjectReason(project), + allowDeferredClosed, + reloadedProjects, + ); } function tryFindDefaultConfiguredProjectFromAncestor(project: ConfiguredProject) { - return forEachAncestorProject( // If not in referenced projects, try ancestors and its references + return infoIsOpenScriptInfo ? forEachAncestorProjectLoad( // If not in referenced projects, try ancestors and its references info, project, tryFindDefaultConfiguredProject, - kind, + optimizedKind, `Creating possible configured project for ${info.fileName} to open`, allowDeferredClosed, reloadedProjects, /*searchOnlyPotentialSolution*/ false, - ); + ) : undefined; } } @@ -4391,13 +4653,13 @@ export class ProjectService { private tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo( info: ScriptInfo, kind: ConfiguredProjectLoadKind.Reload, - reloadedProjects: Set, + reloadedProjects: ConfiguredProjectToAnyReloadKind, delayReloadedConfiguredProjects: Set, ): DefaultConfiguredProjectResult | undefined; private tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo( info: ScriptInfo, - kind: ConfiguredProjectLoadKind, - reloadedProjects?: Set, + kind: ConguredProjectLoadFindCreateOrReload, + reloadedProjects?: ConfiguredProjectToAnyReloadKind, delayReloadedConfiguredProjects?: Set, ): DefaultConfiguredProjectResult | undefined { const allowDeferredClosed = kind === ConfiguredProjectLoadKind.Find; @@ -4409,14 +4671,14 @@ export class ProjectService { reloadedProjects, ); if (!result) return; - const { defaultProject, seenProjects } = result; + const { defaultProject, tsconfigProject, seenProjects } = result; if (defaultProject) { // Create ancestor tree for findAllRefs (dont load them right away) - forEachAncestorProject( + forEachAncestorProjectLoad( info, - defaultProject, + tsconfigProject!, ancestor => { - seenProjects.add(ancestor); + seenProjects.set(ancestor.project, kind); }, kind, `Creating project possibly referencing default composite project ${defaultProject.getProjectName()} of open file ${info.fileName}`, @@ -4478,7 +4740,7 @@ export class ProjectService { } private cleanupConfiguredProjects( - toRetainConfiguredProjects?: Set, + toRetainConfiguredProjects?: ConfigureProjectToLoadKind | Set, externalProjectsRetainingConfiguredProjects?: Set, openFilesWithRetainedConfiguredProject?: Set, ) { @@ -4491,7 +4753,7 @@ export class ProjectService { } private cleanupProjectsAndScriptInfos( - toRetainConfiguredProjects: Set | undefined, + toRetainConfiguredProjects: ConfigureProjectToLoadKind | undefined, openFilesWithRetainedConfiguredProject: Set | undefined, externalProjectsRetainingConfiguredProjects: Set | undefined, ) { @@ -4568,7 +4830,7 @@ export class ProjectService { /** @internal */ getOrphanConfiguredProjects( - toRetainConfiguredProjects: Set | undefined, + toRetainConfiguredProjects: ConfigureProjectToLoadKind | Set | undefined, openFilesWithRetainedConfiguredProject: Set | undefined, externalProjectsRetainingConfiguredProjects: Set | undefined, ): Set { @@ -4583,7 +4845,7 @@ export class ProjectService { ); } }; - toRetainConfiguredProjects?.forEach(retainConfiguredProject); + toRetainConfiguredProjects?.forEach((_, project) => retainConfiguredProject(project)); // Everything needs to be retained, fast path to skip all the work if (!toRemoveConfiguredProjects.size) return toRemoveConfiguredProjects; @@ -4610,7 +4872,7 @@ export class ProjectService { ConfiguredProjectLoadKind.Find, ); if (result?.defaultProject) { - result?.seenProjects.forEach(retainConfiguredProject); + result?.seenProjects.forEach((_, project) => retainConfiguredProject(project)); // Everything needs to be retained, fast path to skip all the work if (!toRemoveConfiguredProjects.size) return toRemoveConfiguredProjects; } @@ -4658,7 +4920,12 @@ export class ProjectService { this.filenameToScriptInfo.forEach(info => { if (info.deferredDelete) return; // If script info is open or orphan, retain it and its dependencies - if (!info.isScriptOpen() && info.isOrphan() && !info.isContainedByBackgroundProject()) { + if ( + !info.isScriptOpen() && + info.isOrphan() && + !scriptInfoIsContainedByDeferredClosedProject(info) && + !scriptInfoIsContainedByBackgroundProject(info) + ) { // Otherwise if there is any source info that is alive, this alive too if (!info.sourceMapFilePath) return; let sourceInfos: Set | undefined; @@ -4805,7 +5072,7 @@ export class ProjectService { } // All the script infos now exist, so ok to go update projects for open files - let retainProjects: Set | undefined; + let retainProjects: ConfigureProjectToLoadKind | undefined; forEach( existingOpenScriptInfos, (existing, index) => @@ -4813,7 +5080,11 @@ export class ProjectService { this.tryInvokeWildCardDirectories(openScriptInfos![index]) : undefined, ); - openScriptInfos?.forEach(info => this.assignProjectToOpenedScriptInfo(info).retainProjects?.forEach(p => (retainProjects ??= new Set()).add(p))); + openScriptInfos?.forEach(info => + this.assignProjectToOpenedScriptInfo(info).retainProjects?.forEach( + (kind, p) => (retainProjects ??= new Map()).set(p, kind), + ) + ); // While closing files there could be open files that needed assigning new inferred projects, do it now if (assignOrphanScriptInfosToInferredProject) { diff --git a/src/server/project.ts b/src/server/project.ts index c3ff0fbf4765a..344b3879f45de 100644 --- a/src/server/project.ts +++ b/src/server/project.ts @@ -8,6 +8,7 @@ import { arrayToMap, BuilderState, CachedDirectoryStructureHost, + canJsonReportNoInputFiles, canWatchDirectoryOrFilePath, changeExtension, changesAffectModuleResolution, @@ -2867,7 +2868,9 @@ export class ConfiguredProject extends Project { openFileWatchTriggered = new Map(); /** @internal */ - canConfigFileJsonReportNoInputFiles = false; + parsedCommandLine: ParsedCommandLine | undefined; + /** @internal */ + resolvedChildConfigs?: Set; private projectReferences: readonly ProjectReference[] | undefined; @@ -2939,7 +2942,7 @@ export class ConfiguredProject extends Project { /** @internal */ override getParsedCommandLine(fileName: string) { - const configFileName = asNormalizedPath(normalizePath(fileName)); + const configFileName = toNormalizedPath(fileName); const canonicalConfigFilePath = asNormalizedPath(this.projectService.toCanonicalFileName(configFileName)); // Ensure the config file existience info is cached let configFileExistenceInfo = this.projectService.configFileExistenceInfoCache.get(canonicalConfigFilePath); @@ -2957,7 +2960,7 @@ export class ConfiguredProject extends Project { /** @internal */ onReleaseParsedCommandLine(fileName: string) { - this.releaseParsedConfig(asNormalizedPath(this.projectService.toCanonicalFileName(asNormalizedPath(normalizePath(fileName))))); + this.releaseParsedConfig(asNormalizedPath(this.projectService.toCanonicalFileName(toNormalizedPath(fileName)))); } private releaseParsedConfig(canonicalConfigFilePath: NormalizedPath) { @@ -3108,12 +3111,6 @@ export class ConfiguredProject extends Project { super.markAsDirty(); } - /** @internal */ - isSolution() { - return this.getRootFilesMap().size === 0 && - !this.canConfigFileJsonReportNoInputFiles; - } - /** @internal */ override isOrphan(): boolean { return !!this.deferredClose; @@ -3124,8 +3121,15 @@ export class ConfiguredProject extends Project { } /** @internal */ - updateErrorOnNoInputFiles(fileNames: string[]) { - updateErrorForNoInputFiles(fileNames, this.getConfigFilePath(), this.getCompilerOptions().configFile!.configFileSpecs!, this.projectErrors!, this.canConfigFileJsonReportNoInputFiles); + updateErrorOnNoInputFiles(parsedCommandLine: ParsedCommandLine) { + this.parsedCommandLine = parsedCommandLine; + updateErrorForNoInputFiles( + parsedCommandLine.fileNames, + this.getConfigFilePath(), + this.getCompilerOptions().configFile!.configFileSpecs!, + this.projectErrors!, + canJsonReportNoInputFiles(parsedCommandLine.raw), + ); } } diff --git a/src/server/scriptInfo.ts b/src/server/scriptInfo.ts index c974871f4d20c..a7ca6c8f6e8be 100644 --- a/src/server/scriptInfo.ts +++ b/src/server/scriptInfo.ts @@ -688,14 +688,6 @@ export class ScriptInfo { return this.deferredDelete || !forEach(this.containingProjects, p => !p.isOrphan()); } - /** @internal */ - isContainedByBackgroundProject() { - return some( - this.containingProjects, - isBackgroundProject, - ); - } - /** * @param line 1 based index */ @@ -746,3 +738,19 @@ function failIfInvalidLocation(location: protocol.Location) { Debug.assert(location.line > 0, `Expected line to be non-${location.line === 0 ? "zero" : "negative"}`); Debug.assert(location.offset > 0, `Expected offset to be non-${location.offset === 0 ? "zero" : "negative"}`); } + +/** @internal */ +export function scriptInfoIsContainedByBackgroundProject(info: ScriptInfo) { + return some( + info.containingProjects, + isBackgroundProject, + ); +} + +/** @internal */ +export function scriptInfoIsContainedByDeferredClosedProject(info: ScriptInfo) { + return some( + info.containingProjects, + isProjectDeferredClose, + ); +} diff --git a/src/server/session.ts b/src/server/session.ts index fd0ed26586dc7..785561fd9909a 100644 --- a/src/server/session.ts +++ b/src/server/session.ts @@ -2193,6 +2193,9 @@ export class Session implements EventSender { const references: ReferenceEntry[] = []; const seen = createDocumentSpanSet(this.host.useCaseSensitiveFileNames); + // TODO:: sheetal: Are we suppose to do like find All references loading more projects: + // Eg test getFileReferences_deduplicate.ts and getFileReferences_server2.ts checks for file references from two projects + // but we dont open those projects by default any more for opening tsconfig.json file forEachProjectInProjects(projects, /*path*/ undefined, project => { if (project.getCancellationToken().isCancellationRequested()) return; diff --git a/src/testRunner/unittests/tsserver/auxiliaryProject.ts b/src/testRunner/unittests/tsserver/auxiliaryProject.ts index 0b02c3193cf52..94dd588333ba0 100644 --- a/src/testRunner/unittests/tsserver/auxiliaryProject.ts +++ b/src/testRunner/unittests/tsserver/auxiliaryProject.ts @@ -46,7 +46,7 @@ describe("unittests:: tsserver:: auxiliaryProject::", () => { // project should throw. const bJsScriptInfo = ts.Debug.checkDefined(session.getProjectService().getScriptInfo(bJs.path)); assert(bJsScriptInfo.isOrphan()); - assert(bJsScriptInfo.isContainedByBackgroundProject()); + assert(ts.server.scriptInfoIsContainedByBackgroundProject(bJsScriptInfo)); assert.deepEqual(bJsScriptInfo.containingProjects, [auxProject]); assert.throws(() => bJsScriptInfo.getDefaultProject()); @@ -54,7 +54,7 @@ describe("unittests:: tsserver:: auxiliaryProject::", () => { // even though it's still contained by the AuxiliaryProject. openFilesForSession([bJs], session); assert(!bJsScriptInfo.isOrphan()); - assert(bJsScriptInfo.isContainedByBackgroundProject()); + assert(ts.server.scriptInfoIsContainedByBackgroundProject(bJsScriptInfo)); assert.equal(bJsScriptInfo.getDefaultProject().projectKind, ts.server.ProjectKind.Inferred); baselineTsserverLogs("auxiliaryProject", "does not remove scrips from InferredProject", session); }); diff --git a/src/testRunner/unittests/tsserver/projectReferences.ts b/src/testRunner/unittests/tsserver/projectReferences.ts index f6bec23470ee4..58f5d2f99b7d1 100644 --- a/src/testRunner/unittests/tsserver/projectReferences.ts +++ b/src/testRunner/unittests/tsserver/projectReferences.ts @@ -581,7 +581,7 @@ testCompositeFunction('why hello there', 42);`, baselineTsserverLogs("projectReferences", `when the referenced projects have allowJs and emitDeclarationOnly`, session); }); - it("when finding local reference doesnt load ancestor/sibling projects", () => { + it("when finding local reference doesnt load ancestor sibling projects", () => { const solutionLocation = "/user/username/projects/solution"; const solution: File = { path: `${solutionLocation}/tsconfig.json`, @@ -661,7 +661,7 @@ testCompositeFunction('why hello there', 42);`, command: ts.server.protocol.CommandTypes.References, arguments: protocolFileLocationFromSubstring(programFile, "getSourceFiles"), }); - baselineTsserverLogs("projectReferences", `finding local reference doesnt load ancestor/sibling projects`, session); + baselineTsserverLogs("projectReferences", "finding local reference doesnt load ancestor sibling projects", session); }); it("when finding references in overlapping projects", () => { diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 5c1754ad1bbd7..744449e46e596 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -3274,6 +3274,7 @@ declare namespace ts { private deleteScriptInfo; private configFileExists; private createConfigFileWatcherForParsedConfig; + private ensureConfigFileWatcherForProject; private forEachConfigFileLocation; private getConfigFileNameForFileFromCache; private setConfigFileNameForFileInCache; @@ -3287,6 +3288,7 @@ declare namespace ts { private updateNonInferredProjectFiles; private updateRootAndOptionsOfNonInferredProject; private reloadFileNamesOfParsedConfig; + private setProjectForReload; private clearSemanticCache; private getOrCreateInferredProjectForProjectRootPathIfEnabled; private getOrCreateSingleInferredProjectIfEnabled; @@ -3333,6 +3335,8 @@ declare namespace ts { private getOrCreateOpenScriptInfo; private assignProjectToOpenedScriptInfo; private tryFindDefaultConfiguredProjectForOpenScriptInfo; + private isMatchedByConfig; + private tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo; private tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo; private ensureProjectChildren; private cleanupConfiguredProjects; diff --git a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js index 194bb07c79973..133e502451029 100644 --- a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js +++ b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js @@ -46,16 +46,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/app.ts", @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile1.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js index 113df1094078c..a17d2b5e2e94d 100644 --- a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js +++ b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js @@ -46,16 +46,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/app.ts", @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile1.ts 500 undefined WatchType: Closed Script info 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 81e4882cbde60..5928dbcafd4f6 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 @@ -341,6 +341,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -351,15 +360,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 416edb755be46..f1f5103b89908 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 @@ -70,6 +70,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -80,15 +89,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 750baa2dcf9c9..8279868403096 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 @@ -73,16 +73,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/packages/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/packages/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/packages/a/tsconfig.json, currentDirectory: /user/username/projects/project/packages/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/a/tsconfig.json 2000 undefined Project: /user/username/projects/project/packages/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/packages/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/packages/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/packages/a/tsconfig.json : { "rootNames": [ "/user/username/projects/project/packages/a/index.ts" @@ -98,6 +88,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/packages/a/tsco } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/packages/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/packages/a/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/a 1 undefined Config: /user/username/projects/project/packages/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/a 1 undefined Config: /user/username/projects/project/packages/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/packages/a/tsconfig.json 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 f0b19eef77a59..ddfaf06324e1c 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 @@ -135,6 +135,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -145,15 +154,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 64643df81fe36..73fc7012dba5a 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 @@ -85,6 +85,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/packages/b/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/packages/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/packages/b/tsconfig.json, currentDirectory: /user/username/projects/project/packages/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/b/tsconfig.json 2000 undefined Project: /user/username/projects/project/packages/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/packages/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/packages/b/index.ts" + ], + "options": { + "composite": true, + "configFilePath": "/user/username/projects/project/packages/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -95,15 +104,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/packages/b/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/packages/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/packages/b/index.ts" - ], - "options": { - "composite": true, - "configFilePath": "/user/username/projects/project/packages/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/b 1 undefined Config: /user/username/projects/project/packages/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/b 1 undefined Config: /user/username/projects/project/packages/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/packages/b/tsconfig.json 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 6996557395007..08fb74f2b053d 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 @@ -67,6 +67,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -77,15 +86,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 ea80ab4841937..0cfa082c6f57c 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 @@ -70,6 +70,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -80,15 +89,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 3c0238e30c1cd..9292a45406c7a 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 @@ -76,6 +76,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -86,15 +95,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 2422e8970a22b..3156d65bfe221 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 @@ -76,6 +76,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -86,15 +95,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 31600262899af..9b533c4e37f01 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 @@ -70,6 +70,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -80,15 +89,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 f748b738c4bcd..0ee29b7e2a546 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 @@ -70,6 +70,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -80,15 +89,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 01bb44bf9a613..0ccdb3a2c22a2 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 @@ -84,16 +84,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/index.ts" @@ -105,6 +95,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 22b0d49374eda..a42cec04677b9 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 @@ -70,6 +70,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -80,15 +89,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js b/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js index 1ceb7532706d9..989712493fa83 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js @@ -70,6 +70,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -80,15 +89,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 65e7810e59e73..4278448218f3e 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 @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/proj/foo/boo/app.ts ProjectRootPath: undefined:: Result: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/proj/tsconfig.json, currentDirectory: /users/username/projects/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/tsconfig.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/proj/tsconfig.json : { + "rootNames": [ + "/users/username/projects/proj/foo/boo/app.ts", + "/users/username/projects/proj/foo/boo/moo/app.ts" + ], + "options": { + "configFilePath": "/users/username/projects/proj/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/proj/foo/boo/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/proj/tsconfig.json : { - "rootNames": [ - "/users/username/projects/proj/foo/boo/app.ts", - "/users/username/projects/proj/foo/boo/moo/app.ts" - ], - "options": { - "configFilePath": "/users/username/projects/proj/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo/boo/moo/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 8125db1c8f4bf..9995fee3940ef 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 @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/proj/foo/boo/app.ts ProjectRootPath: undefined:: Result: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/proj/tsconfig.json, currentDirectory: /users/username/projects/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/tsconfig.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/proj/tsconfig.json : { + "rootNames": [ + "/users/username/projects/proj/foo/boo/app.ts", + "/users/username/projects/proj/foo/boo/moo/app.ts" + ], + "options": { + "configFilePath": "/users/username/projects/proj/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/proj/foo/boo/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/proj/tsconfig.json : { - "rootNames": [ - "/users/username/projects/proj/foo/boo/app.ts", - "/users/username/projects/proj/foo/boo/moo/app.ts" - ], - "options": { - "configFilePath": "/users/username/projects/proj/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo/boo/moo/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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 5b8434d71ac12..8e59ad1566255 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 @@ -84,6 +84,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, currentDirectory: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json 2000 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts" + ], + "options": { + "configFilePath": "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -94,14 +102,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts" - ], - "options": { - "configFilePath": "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/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 91857ab5323d3..acde6e7ca3eb5 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 @@ -84,6 +84,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, currentDirectory: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json 2000 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts" + ], + "options": { + "configFilePath": "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -94,14 +102,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts" - ], - "options": { - "configFilePath": "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/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 e605161af95f9..c4d4a535c6f4a 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts ProjectRootPath: undefined:: Result: /Users/someuser/work/applications/frontend/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /Users/someuser/work/applications/frontend/tsconfig.json, currentDirectory: /Users/someuser/work/applications/frontend Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/tsconfig.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/Users/someuser/work/applications/frontend/tsconfig.json", - "reason": "Creating possible configured project for /Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /Users/someuser/work/applications/frontend/tsconfig.json : { "rootNames": [ "/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts", @@ -120,6 +110,16 @@ Info seq [hh:mm:ss:mss] Config: /Users/someuser/work/applications/frontend/tsco "configFilePath": "/Users/someuser/work/applications/frontend/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/Users/someuser/work/applications/frontend/tsconfig.json", + "reason": "Creating possible configured project for /Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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] Elapsed:: *ms DirectoryWatcher:: Added:: 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] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts 500 undefined WatchType: Closed Script info 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 11c98913a62f7..a5175d14ec630 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts ProjectRootPath: undefined:: Result: /Users/someuser/work/applications/frontend/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /Users/someuser/work/applications/frontend/tsconfig.json, currentDirectory: /Users/someuser/work/applications/frontend Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/tsconfig.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/Users/someuser/work/applications/frontend/tsconfig.json", - "reason": "Creating possible configured project for /Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /Users/someuser/work/applications/frontend/tsconfig.json : { "rootNames": [ "/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts", @@ -120,6 +110,16 @@ Info seq [hh:mm:ss:mss] Config: /Users/someuser/work/applications/frontend/tsco "configFilePath": "/Users/someuser/work/applications/frontend/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/Users/someuser/work/applications/frontend/tsconfig.json", + "reason": "Creating possible configured project for /Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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] Elapsed:: *ms DirectoryWatcher:: Added:: 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] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts 500 undefined WatchType: Closed Script info 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 b1d5478b8b1a6..d550221c81458 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 @@ -69,16 +69,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/controllers/vessels/client.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/a/b/tsconfig.json, currentDirectory: /user/username/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/tsconfig.json 2000 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/a/b/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/a/b/controllers/vessels/client.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { "rootNames": [ "/user/username/projects/project/a/b/controllers/vessels/client.ts", @@ -98,6 +88,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.js "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/a/b/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/a/b/controllers/vessels/client.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b 1 undefined Config: /user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b 1 undefined Config: /user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/models/vessel.ts 500 undefined WatchType: Closed Script info 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 3d0398b5229d1..886d5131a3d15 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 @@ -55,16 +55,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/client/linktofolder2/module2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/client/linktofolder2/module2.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/client/folder1/module1.ts", @@ -81,6 +71,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/client/linktofolder2/module2.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory 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 cdbc37038bd4a..007a58d1404ac 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/folder/myproject/app.ts ProjectRootPath: undefined:: Result: /user/username/folder/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/folder/myproject/tsconfig.json, currentDirectory: /user/username/folder/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/myproject/tsconfig.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/folder/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/folder/myproject/app.ts" + ], + "options": { + "configFilePath": "/user/username/folder/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/folder/myproject/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/folder/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/folder/myproject/app.ts" - ], - "options": { - "configFilePath": "/user/username/folder/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject 1 undefined Config: /user/username/folder/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject 1 undefined Config: /user/username/folder/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js b/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js index 347fa58667662..a3f971b4185c3 100644 --- a/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js +++ b/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js @@ -40,6 +40,14 @@ TestServerCancellationToken:: Cancellation Request id:: 1 Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/myproject/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/myproject/tsconfig.json, currentDirectory: /home/src/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/tsconfig.json 2000 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { + "rootNames": [ + "/home/src/projects/myproject/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,14 +58,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/myproject/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { - "rootNames": [ - "/home/src/projects/myproject/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json 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 1f80de3251700..b6ce09f5cc26f 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 @@ -40,6 +40,14 @@ TestServerCancellationToken:: Cancellation Request id:: 1 Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/myproject/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/myproject/tsconfig.json, currentDirectory: /home/src/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/tsconfig.json 2000 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { + "rootNames": [ + "/home/src/projects/myproject/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,14 +58,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/myproject/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { - "rootNames": [ - "/home/src/projects/myproject/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json 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 bcc9e83bfb6bd..28a16d1eb356f 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/file.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/src/file.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/src/file.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/src/file.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/codeFix/install-package.js b/tests/baselines/reference/tsserver/codeFix/install-package.js index bf8ec16a4a1cc..eb1bdadcf407d 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package.js @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/file.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/src/file.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/src/file.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/src/file.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json 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 ba04b007c92ae..3489b863dc53a 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/app1/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/app1/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/app1/tsconfig.json, currentDirectory: /user/username/projects/myproject/app1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app1/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/app1/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/app1/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app1/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/app1/app.ts", @@ -84,6 +74,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app1/tsconfig "configFilePath": "/user/username/projects/myproject/app1/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/app1/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/app1/app.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/core/core.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info @@ -242,16 +242,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/app2/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/app2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/app2/tsconfig.json, currentDirectory: /user/username/projects/myproject/app2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app2/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/app2/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/app2/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/app2/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app2/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/app2/app.ts", @@ -262,6 +252,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app2/tsconfig "configFilePath": "/user/username/projects/myproject/app2/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/app2/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/app2/app.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app2/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/myproject/app2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app2/tsconfig.json WatchType: Type roots 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 04c81d3d2ceba..72b47784ab464 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/app1/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/app1/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/app1/tsconfig.json, currentDirectory: /user/username/projects/myproject/app1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app1/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/app1/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/app1/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app1/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/app1/app.ts", @@ -84,6 +74,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app1/tsconfig "configFilePath": "/user/username/projects/myproject/app1/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/app1/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/app1/app.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/core/core.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info @@ -242,16 +242,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/app2/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/app2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/app2/tsconfig.json, currentDirectory: /user/username/projects/myproject/app2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app2/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/app2/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/app2/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/app2/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app2/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/app2/app.ts", @@ -262,6 +252,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app2/tsconfig "configFilePath": "/user/username/projects/myproject/app2/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/app2/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/app2/app.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app2/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/myproject/app2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app2/tsconfig.json WatchType: Type roots 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 d6dac0d84dfaf..ac5097fb806c6 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/project/tsconfig.json, currentDirectory: /home/src/workspace/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/project/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/project/a.ts", @@ -65,6 +55,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/project/tsconfig.j "configFilePath": "/home/src/workspace/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project 1 undefined Config: /home/src/workspace/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project 1 undefined Config: /home/src/workspace/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project/b.ts 500 undefined WatchType: Closed Script info 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 0af52bb8b7f1e..e3ea0b8e0f6c9 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 @@ -43,6 +43,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/project/tsconfig.json, currentDirectory: /home/src/workspace/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspace/projects/project/a.ts", + "/home/src/workspace/projects/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/workspace/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,15 +62,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspace/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspace/projects/project/a.ts", - "/home/src/workspace/projects/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/workspace/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project 1 undefined Config: /home/src/workspace/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project 1 undefined Config: /home/src/workspace/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project/b.ts 500 undefined WatchType: Closed Script info 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 da7853745b1f6..5979fed135cec 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 @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/file1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { + "rootNames": [ + "/home/src/workspace/projects/b/file1.ts", + "/home/src/workspace/projects/b/file2.ts" + ], + "options": { + "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspace/projects/b/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { - "rootNames": [ - "/home/src/workspace/projects/b/file1.ts", - "/home/src/workspace/projects/b/file2.ts" - ], - "options": { - "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file2.ts 500 undefined WatchType: Closed Script info @@ -297,6 +297,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/c/file2.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/c/tsconfig.json, currentDirectory: /home/src/workspace/projects/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/c/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/c/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/c/tsconfig.json : { + "rootNames": [ + "/home/src/workspace/projects/c/file2.ts" + ], + "options": { + "configFilePath": "/home/src/workspace/projects/c/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -307,14 +315,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspace/projects/c/file2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/c/tsconfig.json : { - "rootNames": [ - "/home/src/workspace/projects/c/file2.ts" - ], - "options": { - "configFilePath": "/home/src/workspace/projects/c/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/c 1 undefined Config: /home/src/workspace/projects/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/c 1 undefined Config: /home/src/workspace/projects/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/c/tsconfig.json 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 e8d5edc226e2f..584feb3de9417 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 @@ -48,16 +48,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -69,6 +59,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js index 4baf19c444df8..edd161f24920f 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/file1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { + "rootNames": [ + "/home/src/workspace/projects/b/file1.ts", + "/home/src/workspace/projects/b/file2.ts" + ], + "options": { + "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspace/projects/b/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { - "rootNames": [ - "/home/src/workspace/projects/b/file1.ts", - "/home/src/workspace/projects/b/file2.ts" - ], - "options": { - "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file2.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js index 6f8a1997104c8..e1361e80eb5c5 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js @@ -43,16 +43,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -63,6 +53,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info 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 13124388745aa..fd2b665666b9f 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 @@ -50,16 +50,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -71,6 +61,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/tsconfig.json 2000 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info 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 eedf7f151699e..3d517fd241e31 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 @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { + "rootNames": [ + "/home/src/workspace/projects/b/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { - "rootNames": [ - "/home/src/workspace/projects/b/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 88c3cb8c58d24..6a578e8bf2430 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 @@ -51,16 +51,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/globalFile3.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/globalFile3.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/globalFile3.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js index 2aa0f50ac9fbf..e1dfd9386575a 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -65,6 +55,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info 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 a802f8ec18c1c..5c47bf7137472 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js @@ -51,16 +51,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js index b1bec24450b58..2490730a63595 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js @@ -48,16 +48,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -69,6 +59,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info 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 0fe8a4a78e9ce..5a4d374a10264 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js @@ -41,6 +41,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/referenceFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { + "rootNames": [ + "/home/src/workspace/projects/b/referenceFile1.ts" + ], + "options": { + "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,14 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspace/projects/b/referenceFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { - "rootNames": [ - "/home/src/workspace/projects/b/referenceFile1.ts" - ], - "options": { - "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js index 245e27d5fb39e..2370ca81e625a 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js @@ -46,16 +46,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js index c8237ca2ae32b..f5bfd74a99e20 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js @@ -44,6 +44,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/referenceFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { + "rootNames": [ + "/home/src/workspace/projects/b/moduleFile1.ts", + "/home/src/workspace/projects/b/referenceFile1.ts" + ], + "options": { + "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,15 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspace/projects/b/referenceFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { - "rootNames": [ - "/home/src/workspace/projects/b/moduleFile1.ts", - "/home/src/workspace/projects/b/referenceFile1.ts" - ], - "options": { - "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/moduleFile1.ts 500 undefined WatchType: Closed Script info 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 403228bc28c90..6363b32462b10 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 @@ -51,16 +51,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info 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 236818596725e..c25a4442c3ef0 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 @@ -51,16 +51,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info 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 16ab82861a171..d0655b7189988 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 @@ -51,16 +51,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info 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 933044f3c2726..d773f405b23ad 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 @@ -51,16 +51,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/moduleFile1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b/file1Consumer1.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/b/moduleFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info 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 431ca851ea282..fef129221c9b8 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/runtime/a.d.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/tsconfig.json, currentDirectory: /home/src/workspace/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/runtime/a.d.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b.ts", @@ -65,6 +55,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/tsconfig.json : { "configFilePath": "/home/src/workspace/projects/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/runtime/a.d.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b.ts 500 undefined WatchType: Closed Script info 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 69099877f63e0..527608dfe9b2a 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 @@ -46,16 +46,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/runtime/a.d.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/tsconfig.json, currentDirectory: /home/src/workspace/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/runtime/a.d.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b.ts", @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/tsconfig.json : { "configFilePath": "/home/src/workspace/projects/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/runtime/a.d.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b.ts 500 undefined WatchType: Closed Script info 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 3fca36adbdd70..d33e6f7fec1e7 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/runtime/a.d.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/tsconfig.json, currentDirectory: /home/src/workspace/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/runtime/a.d.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/b.ts", @@ -65,6 +55,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/tsconfig.json : { "configFilePath": "/home/src/workspace/projects/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/runtime/a.d.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b.ts 500 undefined WatchType: Closed Script info 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 8be0e1cb411e1..0731064d3fbfd 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js @@ -43,6 +43,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/runtime/a.d.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/tsconfig.json, currentDirectory: /home/src/workspace/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/tsconfig.json : { + "rootNames": [ + "/home/src/workspace/projects/b.ts", + "/home/src/workspace/projects/runtime/a.d.ts" + ], + "options": { + "configFilePath": "/home/src/workspace/projects/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,15 +62,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspace/projects/runtime/a.d.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/tsconfig.json : { - "rootNames": [ - "/home/src/workspace/projects/b.ts", - "/home/src/workspace/projects/runtime/a.d.ts" - ], - "options": { - "configFilePath": "/home/src/workspace/projects/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b.ts 500 undefined WatchType: Closed Script info 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 d9969b8eeaf5c..8f0f42a7054a0 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js @@ -43,6 +43,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/runtime/a.d.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/tsconfig.json, currentDirectory: /home/src/workspace/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/tsconfig.json : { + "rootNames": [ + "/home/src/workspace/projects/b.ts", + "/home/src/workspace/projects/runtime/a.d.ts" + ], + "options": { + "configFilePath": "/home/src/workspace/projects/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,15 +62,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspace/projects/runtime/a.d.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/tsconfig.json : { - "rootNames": [ - "/home/src/workspace/projects/b.ts", - "/home/src/workspace/projects/runtime/a.d.ts" - ], - "options": { - "configFilePath": "/home/src/workspace/projects/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b.ts 500 undefined WatchType: Closed Script info 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 dea6972dbd8cd..ce8141aef2ed7 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 @@ -55,16 +55,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts", @@ -77,6 +67,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info 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 ce1a46835b101..6b3a3b2028fcf 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 @@ -57,16 +57,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts", @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info 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 3d13fecfcc8d8..312b927a9a346 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 @@ -57,16 +57,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts", @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js index 51f931c089910..b62b15f4be12b 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js @@ -55,16 +55,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts", @@ -77,6 +67,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js b/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js index 3bdf3c650e07a..07b74946e2b91 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/b/f1.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/b/tsconfig.json, currentDirectory: /home/src/workspace/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { + "rootNames": [ + "/home/src/workspace/projects/b/f1.ts", + "/home/src/workspace/projects/b/f2.ts" + ], + "options": { + "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspace/projects/b/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/b/tsconfig.json : { - "rootNames": [ - "/home/src/workspace/projects/b/f1.ts", - "/home/src/workspace/projects/b/f2.ts" - ], - "options": { - "configFilePath": "/home/src/workspace/projects/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/f2.ts 500 undefined WatchType: Closed Script info 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 73d92f21b371e..7765aa0b6bf0c 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 @@ -50,16 +50,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts", @@ -72,6 +62,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info 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 0b44795d78f58..bc3e88a54b366 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 @@ -50,16 +50,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts", @@ -72,6 +62,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info 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 900c0bcdd237b..4b7b98046f996 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 @@ -50,16 +50,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts", @@ -72,6 +62,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js index 4a845b6158d8a..8b20553e962dc 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js @@ -146,16 +146,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/app/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/app/tsconfig.json, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/app/tsconfig.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/app/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/app/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/app/tsconfig.json : { "rootNames": [ "/user/username/projects/app/src/index.ts" @@ -181,6 +171,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/app/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/app/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/app/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/src 1 undefined Config: /user/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/src 1 undefined Config: /user/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js index be039e6cd0e4a..d2bb01734c1f6 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js @@ -147,16 +147,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/app/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/app/tsconfig.json, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/app/tsconfig.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/app/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/app/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/app/tsconfig.json : { "rootNames": [ "/user/username/projects/app/src/index.ts" @@ -182,6 +172,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/app/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/app/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/app/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/src 1 undefined Config: /user/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/src 1 undefined Config: /user/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js index 404ba87b8e0b0..a5f21d85779c0 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js @@ -146,16 +146,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/app/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/app/tsconfig.json, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/app/tsconfig.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/app/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/app/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/app/tsconfig.json : { "rootNames": [ "/user/username/projects/app/src/index.ts" @@ -181,6 +171,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/app/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/app/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/app/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/src 1 undefined Config: /user/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/src 1 undefined Config: /user/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js index 7cb7e141f5339..9a2715fc9be8b 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js @@ -147,16 +147,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/app/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/app/tsconfig.json, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/app/tsconfig.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/app/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/app/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/app/tsconfig.json : { "rootNames": [ "/user/username/projects/app/src/index.ts" @@ -182,6 +172,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/app/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/app/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/app/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/src 1 undefined Config: /user/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/src 1 undefined Config: /user/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js index 3160d4c5c8328..dbdd49b363c4a 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js +++ b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js @@ -109,16 +109,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/app/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/app/tsconfig.json, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/app/tsconfig.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/app/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/app/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/app/tsconfig.json : { "rootNames": [ "/user/username/projects/app/src/index.ts" @@ -135,6 +125,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/app/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/app/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/app/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/src 1 undefined Config: /user/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/src 1 undefined Config: /user/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/completions/works.js b/tests/baselines/reference/tsserver/completions/works.js index 8dbcba70bf2e1..b6a9bbc338967 100644 --- a/tests/baselines/reference/tsserver/completions/works.js +++ b/tests/baselines/reference/tsserver/completions/works.js @@ -64,6 +64,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/project/project/a.ts ProjectRootPath: undefined:: Result: /home/src/project/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/project/project/tsconfig.json, currentDirectory: /home/src/project/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/tsconfig.json 2000 undefined Project: /home/src/project/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { + "rootNames": [ + "/home/src/project/project/a.ts", + "/home/src/project/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/project/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -74,15 +83,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/project/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { - "rootNames": [ - "/home/src/project/project/a.ts", - "/home/src/project/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/project/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/b.ts 500 undefined WatchType: Closed Script info 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 65a8ad83c81d5..e1bd6854564f9 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 @@ -1064,16 +1064,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/project/project/index.ts ProjectRootPath: undefined:: Result: /home/src/project/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/project/project/tsconfig.json, currentDirectory: /home/src/project/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/tsconfig.json 2000 undefined Project: /home/src/project/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/project/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "rootNames": [ "/home/src/project/project/index.ts", @@ -1283,6 +1273,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "configFilePath": "/home/src/project/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/project/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_0.ts 500 undefined WatchType: Closed Script info 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 ef552982187b5..9b49b0186f297 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 @@ -2664,16 +2664,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/project/project/index.ts ProjectRootPath: undefined:: Result: /home/src/project/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/project/project/tsconfig.json, currentDirectory: /home/src/project/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/tsconfig.json 2000 undefined Project: /home/src/project/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/project/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "rootNames": [ "/home/src/project/project/index.ts", @@ -2733,6 +2723,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "configFilePath": "/home/src/project/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/project/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_0.ts 500 undefined WatchType: Closed Script info 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 bae0d308e25ba..8f0c8252918be 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 @@ -514,16 +514,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/project/project/index.ts ProjectRootPath: undefined:: Result: /home/src/project/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/project/project/tsconfig.json, currentDirectory: /home/src/project/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/tsconfig.json 2000 undefined Project: /home/src/project/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/project/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "rootNames": [ "/home/src/project/project/index.ts", @@ -683,6 +673,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "configFilePath": "/home/src/project/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/project/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_0.ts 500 undefined WatchType: Closed Script info 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 96d5697043f10..dde3ccc074b60 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 @@ -370,16 +370,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/project/project/index.ts ProjectRootPath: undefined:: Result: /home/src/project/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/project/project/tsconfig.json, currentDirectory: /home/src/project/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/tsconfig.json 2000 undefined Project: /home/src/project/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/project/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "rootNames": [ "/home/src/project/project/index.ts", @@ -490,6 +480,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "configFilePath": "/home/src/project/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/project/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_0.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js index 117357a088721..e6cb9d9519e98 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js @@ -573,16 +573,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/project/project/index.ts ProjectRootPath: undefined:: Result: /home/src/project/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/project/project/tsconfig.json, currentDirectory: /home/src/project/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/tsconfig.json 2000 undefined Project: /home/src/project/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/project/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "rootNames": [ "/home/src/project/project/index.ts", @@ -692,6 +682,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "configFilePath": "/home/src/project/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/project/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_0.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works.js b/tests/baselines/reference/tsserver/completionsIncomplete/works.js index 4e513563874e4..34fba8070fbfa 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works.js @@ -814,16 +814,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/project/project/index.ts ProjectRootPath: undefined:: Result: /home/src/project/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/project/project/tsconfig.json, currentDirectory: /home/src/project/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/tsconfig.json 2000 undefined Project: /home/src/project/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/project/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "rootNames": [ "/home/src/project/project/index.ts", @@ -1083,6 +1073,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { "configFilePath": "/home/src/project/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/project/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/project/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_0.ts 500 undefined WatchType: Closed Script info 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 f847200c60814..22bd072c2a04a 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 @@ -195,6 +195,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/project/proj Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/project/project/a/file1.ts ProjectRootPath: undefined:: Result: /home/src/project/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/project/project/tsconfig.json, currentDirectory: /home/src/project/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/tsconfig.json 2000 undefined Project: /home/src/project/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { + "rootNames": [ + "/home/src/project/project/a/file1.ts" + ], + "options": { + "configFilePath": "/home/src/project/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -205,14 +213,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/project/project/a/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { - "rootNames": [ - "/home/src/project/project/a/file1.ts" - ], - "options": { - "configFilePath": "/home/src/project/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/project/tsconfig.json 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 127116b95eec0..77b7731f57e48 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 @@ -41,6 +41,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/a/b/projects/project/src/file1.ts ProjectRootPath: /home/a/b/projects/project:: Result: /home/a/b/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/a/b/projects/project/src/tsconfig.json, currentDirectory: /home/a/b/projects/project/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src/tsconfig.json 2000 undefined Project: /home/a/b/projects/project/src/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/a/b/projects/project/src/tsconfig.json : { + "rootNames": [ + "/home/a/b/projects/project/src/file1.ts" + ], + "options": { + "configFilePath": "/home/a/b/projects/project/src/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,14 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/a/b/projects/project/src/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/a/b/projects/project/src/tsconfig.json : { - "rootNames": [ - "/home/a/b/projects/project/src/file1.ts" - ], - "options": { - "configFilePath": "/home/a/b/projects/project/src/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/a/b/projects/project/src/tsconfig.json 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 e10a490d4adf2..e357b15f14e34 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 @@ -41,6 +41,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/a/b/projects/project/src/file1.ts ProjectRootPath: /home/a/b/projects/project:: Result: /home/a/b/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/a/b/projects/project/src/tsconfig.json, currentDirectory: /home/a/b/projects/project/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src/tsconfig.json 2000 undefined Project: /home/a/b/projects/project/src/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/a/b/projects/project/src/tsconfig.json : { + "rootNames": [ + "/home/a/b/projects/project/src/file1.ts" + ], + "options": { + "configFilePath": "/home/a/b/projects/project/src/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,14 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/a/b/projects/project/src/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/a/b/projects/project/src/tsconfig.json : { - "rootNames": [ - "/home/a/b/projects/project/src/file1.ts" - ], - "options": { - "configFilePath": "/home/a/b/projects/project/src/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/a/b/projects/project/src/tsconfig.json 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 dfee8dd333132..78137540824a5 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 @@ -117,17 +117,14 @@ ScriptInfos:: 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] getConfigFileNameForFile:: File: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj:: Result: /a/b/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/b/projects/project/tsconfig.json, currentDirectory: /a/b/projects/project -Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms 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] 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] getConfigFileNameForFile:: File: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj:: Result: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms 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 -Before running Timeout callback:: count: 2 -1: /a/b/projects/project/tsconfig.json -3: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* //// [/a/b/projects/project/tsconfig.json] {} @@ -156,22 +153,28 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -Timeout callback:: count: 2 -1: /a/b/projects/project/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* *new* -Projects:: -/a/b/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +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] Running: /a/b/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] ----------------------------------------------- +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: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/b/projects/project/tsconfig.json, currentDirectory: /a/b/projects/project +Info seq [hh:mm:ss:mss] Config: /a/b/projects/project/tsconfig.json : { + "rootNames": [ + "/a/b/projects/project/src/index.ts" + ], + "options": { + "configFilePath": "/a/b/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -179,17 +182,9 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/a/b/projects/project/tsconfig.json", - "reason": "Change in config file /a/b/projects/project/tsconfig.json detected, Creating possible configured project for /a/b/projects/project/src/index.ts to open" + "reason": "Creating possible configured project for /a/b/projects/project/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /a/b/projects/project/tsconfig.json : { - "rootNames": [ - "/a/b/projects/project/src/index.ts" - ], - "options": { - "configFilePath": "/a/b/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -269,24 +264,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/a/b/projects/project/tsconfig.json", + "triggerFile": "/a/b/projects/project/src/index.ts", "configFile": "/a/b/projects/project/tsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/tsconfig.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: /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* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -348,12 +330,10 @@ FsWatchesRecursive:: {} Projects:: -/a/b/projects/project/tsconfig.json (Configured) *changed* +/a/b/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* @@ -380,11 +360,11 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/project Info seq [hh:mm:ss:mss] Project: /a/b/projects/project/tsconfig.json Detected file add/remove of non supported extension: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/project/tsconfig.json :: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 -4: *ensureProjectForOpenFiles* +3: *ensureProjectForOpenFiles* //// [/a/b/projects/project/tsconfig.json] deleted Timeout callback:: count: 1 -4: *ensureProjectForOpenFiles* *new* +3: *ensureProjectForOpenFiles* *new* Projects:: /a/b/projects/project/tsconfig.json (Configured) *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 b3bb73a892ef9..46549bba0af88 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 @@ -38,6 +38,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj:: Result: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/b/projects/project/tsconfig.json, currentDirectory: /a/b/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /a/b/projects/project/tsconfig.json : { + "rootNames": [ + "/a/b/projects/project/src/index.ts" + ], + "options": { + "configFilePath": "/a/b/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -48,14 +56,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /a/b/projects/project/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /a/b/projects/project/tsconfig.json : { - "rootNames": [ - "/a/b/projects/project/src/index.ts" - ], - "options": { - "configFilePath": "/a/b/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/projects/project/tsconfig.json 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 3d059dd69ede5..e3e4364ef9503 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 @@ -51,6 +51,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/src/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/a/b/tsconfig.json, currentDirectory: /user/username/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/tsconfig.json 2000 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/a/b/src/file1.ts", + "/user/username/projects/project/a/b/file3.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -61,15 +70,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/a/b/src/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/a/b/src/file1.ts", - "/user/username/projects/project/a/b/file3.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 1276165424331..54b0e745bd0a3 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 @@ -51,6 +51,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/src/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/a/b/tsconfig.json, currentDirectory: /user/username/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/tsconfig.json 2000 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/a/b/src/file1.ts", + "/user/username/projects/project/a/b/file3.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -61,15 +70,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/a/b/src/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/a/b/src/file1.ts", - "/user/username/projects/project/a/b/file3.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 13464ec5fe741..3bf99f5c67406 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 @@ -191,8 +191,6 @@ ScriptInfos:: 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms 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 @@ -201,9 +199,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms 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 -Before running Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json -3: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig.json] { "files": [ @@ -230,26 +227,34 @@ FsWatches:: /user/username/projects/myproject/tsconfig.json: *new* {} -Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* *new* -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/dev/null/inferredProject2* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +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] Running: /user/username/projects/myproject/tsconfig.json +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] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +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] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -257,17 +262,9 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/commonFile1.ts to open" + "reason": "Creating possible configured project for /user/username/projects/myproject/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/commonFile1.ts" - ], - "options": { - "configFilePath": "/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -342,30 +339,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", + "triggerFile": "/user/username/projects/myproject/commonFile1.ts", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.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] 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] Open files: -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile1.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json -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] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -418,12 +396,10 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -448,11 +424,11 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms 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 Before running Timeout callback:: count: 1 -4: *ensureProjectForOpenFiles* +3: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig.json] deleted Timeout callback:: count: 1 -4: *ensureProjectForOpenFiles* *new* +3: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -576,8 +552,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms 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 Before running Timeout callback:: count: 2 -5: /user/username/projects/myproject/tsconfig.json -6: *ensureProjectForOpenFiles* +4: /user/username/projects/myproject/tsconfig.json +5: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig.json] { "files": [ @@ -587,8 +563,8 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -5: /user/username/projects/myproject/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +4: /user/username/projects/myproject/tsconfig.json *new* +5: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -1396,6 +1372,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1406,14 +1390,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/commonFile1.ts" - ], - "options": { - "configFilePath": "/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1536,7 +1512,7 @@ Before request //// [/user/username/projects/myproject/tsconfig.json] deleted Timeout callback:: count: 1 -7: *ensureProjectForOpenFiles* *new* +6: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -1649,8 +1625,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -8: /user/username/projects/myproject/tsconfig.json -9: *ensureProjectForOpenFiles* +7: /user/username/projects/myproject/tsconfig.json +8: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig.json] { "files": [ @@ -1660,9 +1636,9 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -7: *ensureProjectForOpenFiles* *deleted* -8: /user/username/projects/myproject/tsconfig.json *new* -9: *ensureProjectForOpenFiles* *new* +6: *ensureProjectForOpenFiles* *deleted* +7: /user/username/projects/myproject/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject4* (Inferred) diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js index 57128a5272ef9..2fb8c2677ba41 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js @@ -51,6 +51,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -61,14 +69,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info @@ -155,6 +155,14 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -165,14 +173,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1061,6 +1061,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1071,14 +1079,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -1123,6 +1123,14 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1133,14 +1141,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js index 1c3d0560adf93..c61213b667737 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js @@ -51,6 +51,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -61,14 +69,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -204,33 +204,13 @@ ScriptInfos:: 1: When config file is deleted and then another file is opened Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} -/user/username/projects/myproject/tsconfig.json: *new* - {} - -Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +1: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -239,11 +219,6 @@ Projects:: isOrphan: true *changed* deferredClose: true *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -255,6 +230,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -262,17 +247,9 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -378,18 +355,32 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: *new* + {} + Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -412,10 +403,9 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -3: /user/username/projects/myproject/folder/tsconfig.json -4: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 2 +2: /user/username/projects/myproject/folder/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -424,11 +414,10 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -2: *ensureProjectForOpenFiles* *deleted* -1: /user/username/projects/myproject/tsconfig.json -3: /user/username/projects/myproject/folder/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +1: *ensureProjectForOpenFiles* *deleted* +2: /user/username/projects/myproject/folder/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -442,7 +431,6 @@ Projects:: projectProgramVersion: 1 autoImportProviderHost: false -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] event: { @@ -1180,6 +1168,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1190,14 +1186,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -1331,6 +1319,14 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1341,14 +1337,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1461,11 +1449,11 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 1 -5: *ensureProjectForOpenFiles* +4: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] deleted Timeout callback:: count: 1 -5: *ensureProjectForOpenFiles* *new* +4: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -1611,8 +1599,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -6: /user/username/projects/myproject/folder/tsconfig.json -7: *ensureProjectForOpenFiles* +5: /user/username/projects/myproject/folder/tsconfig.json +6: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -1622,8 +1610,8 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -6: /user/username/projects/myproject/folder/tsconfig.json *new* -7: *ensureProjectForOpenFiles* *new* +5: /user/username/projects/myproject/folder/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject2* (Inferred) @@ -2458,6 +2446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -2468,14 +2464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -2597,33 +2585,13 @@ ScriptInfos:: 3: Check when both files are closed when config file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} -/user/username/projects/myproject/tsconfig.json: *new* - {} - -Timeout callback:: count: 2 -8: /user/username/projects/myproject/tsconfig.json *new* -9: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +7: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -2632,11 +2600,6 @@ Projects:: isOrphan: true *changed* deferredClose: true *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -2648,6 +2611,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -2655,17 +2628,9 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -2730,18 +2695,32 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: *new* + {} + Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -3152,6 +3131,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -3162,14 +3149,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -3292,35 +3271,14 @@ ScriptInfos:: 4: Check when both files are closed one by one when file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} -/user/username/projects/myproject/tsconfig.json: *new* - {} - -Timeout callback:: count: 2 -8: /user/username/projects/myproject/tsconfig.json *deleted* -9: *ensureProjectForOpenFiles* *deleted* -10: /user/username/projects/myproject/tsconfig.json *new* -11: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +7: *ensureProjectForOpenFiles* *deleted* +8: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -3329,11 +3287,6 @@ Projects:: isOrphan: true *changed* deferredClose: true *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -3345,6 +3298,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -3352,17 +3315,9 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -3427,18 +3382,32 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: *new* + {} + Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -3556,7 +3525,6 @@ 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -3604,15 +3572,13 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/tsconfig.json: {} /user/username/projects/myproject/tsconfig.json: {} -FsWatches *deleted*:: -/user/username/projects/myproject/folder/commonFile1.ts: - {} - Projects:: /dev/null/inferredProject5* (Inferred) *new* projectStateVersion: 1 @@ -3635,7 +3601,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject5* *new* -/user/username/projects/myproject/folder/commonFile1.ts *deleted* +/user/username/projects/myproject/folder/commonFile1.ts version: SVC-4-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json @@ -3702,6 +3668,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} /user/username/projects/myproject/folder/tsconfig.json: @@ -3733,6 +3701,10 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject5* +/user/username/projects/myproject/folder/commonFile1.ts + version: SVC-4-0 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-4-0 @@ -3798,6 +3770,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: {} /user/username/projects/myproject/folder/tsconfig.json: @@ -3831,6 +3805,10 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject5* +/user/username/projects/myproject/folder/commonFile1.ts + version: SVC-4-0 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-4-0 containingProjects: 1 @@ -3908,6 +3886,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/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -3950,6 +3929,8 @@ FsWatches:: {} FsWatches *deleted*:: +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: {} /user/username/projects/myproject/folder/tsconfig.json: @@ -3985,6 +3966,10 @@ ScriptInfos:: /dev/null/inferredProject5* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/folder/commonFile1.ts *deleted* + version: SVC-4-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-4-0 containingProjects: 0 *changed* @@ -4077,6 +4062,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -4087,14 +4080,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -4216,35 +4201,14 @@ ScriptInfos:: 5: Check when both files are closed one by one when file is deleted order changed Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} -/user/username/projects/myproject/tsconfig.json: *new* - {} - -Timeout callback:: count: 2 -10: /user/username/projects/myproject/tsconfig.json *deleted* -11: *ensureProjectForOpenFiles* *deleted* -12: /user/username/projects/myproject/tsconfig.json *new* -13: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +8: *ensureProjectForOpenFiles* *deleted* +9: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -4253,11 +4217,6 @@ Projects:: isOrphan: true *changed* deferredClose: true *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -4269,6 +4228,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -4276,17 +4245,9 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -4351,18 +4312,32 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: *new* + {} + Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -4430,6 +4405,18 @@ FsWatches:: /user/username/projects/myproject/tsconfig.json: {} +Projects:: +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false + ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 @@ -4480,11 +4467,26 @@ 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 '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + folder/commonFile2.ts + Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -4527,10 +4529,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject/folder/commonFile2.ts: - {} /user/username/projects/myproject/folder/tsconfig.json: {} + +FsWatches *deleted*:: +/user/username/projects/myproject/folder/commonFile2.ts: + {} /user/username/projects/myproject/tsconfig.json: {} @@ -4544,26 +4548,28 @@ Projects:: projectProgramVersion: 1 isOrphan: true deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject6* *new* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-5-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts +/user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-5-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-8-0 containingProjects: 1 @@ -4584,10 +4590,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -4625,12 +4627,8 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} -/user/username/projects/myproject/folder/commonFile2.ts: - {} /user/username/projects/myproject/folder/tsconfig.json: {} -/user/username/projects/myproject/tsconfig.json: - {} Projects:: /dev/null/inferredProject6* (Inferred) @@ -4643,28 +4641,18 @@ Projects:: isOrphan: true noOpenRef: true *changed* deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* - autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject6* /user/username/projects/myproject/folder/commonFile1.ts *changed* open: false *changed* version: SVC-5-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts - version: SVC-5-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json /user/username/projects/random/random.ts (Open) version: SVC-8-0 containingProjects: 1 @@ -4686,10 +4674,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -4727,12 +4711,8 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile1.ts: {} -/user/username/projects/myproject/folder/commonFile2.ts: - {} /user/username/projects/myproject/folder/tsconfig.json: {} -/user/username/projects/myproject/tsconfig.json: - {} Projects:: /dev/null/inferredProject6* (Inferred) *changed* @@ -4747,27 +4727,17 @@ Projects:: isOrphan: true noOpenRef: true deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true - autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject6* /user/username/projects/myproject/folder/commonFile1.ts version: SVC-5-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts - version: SVC-5-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json /user/username/projects/random/random.ts *deleted* open: false *changed* version: SVC-8-0 @@ -4823,26 +4793,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/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -4886,12 +4837,8 @@ FsWatches:: FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile1.ts: {} -/user/username/projects/myproject/folder/commonFile2.ts: - {} /user/username/projects/myproject/folder/tsconfig.json: {} -/user/username/projects/myproject/tsconfig.json: - {} Projects:: /dev/null/inferredProject6* (Inferred) *changed* @@ -4907,12 +4854,6 @@ Projects:: isOrphan: true noOpenRef: true deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -4920,15 +4861,10 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject6* /user/username/projects/myproject/folder/tsconfig.json *deleted* - /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: SVC-5-0 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* -/user/username/projects/myproject/folder/commonFile2.ts *deleted* - version: SVC-5-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-9-0 containingProjects: 1 @@ -5018,6 +4954,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -5028,14 +4972,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -5169,6 +5105,14 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -5179,14 +5123,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js index 5261c4439003d..bddd7d71ebd16 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js @@ -54,6 +54,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -64,14 +72,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info @@ -158,16 +158,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { "rootNames": [ "/user/username/projects/myproject/folder/commonFile2.ts" @@ -181,6 +171,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots @@ -1079,6 +1079,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1089,14 +1097,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -1141,16 +1141,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { "rootNames": [ "/user/username/projects/myproject/folder/commonFile2.ts" @@ -1164,6 +1154,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js index 543e0850ea8b2..a3cf3ed507e84 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js @@ -54,6 +54,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -64,14 +72,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -207,40 +207,15 @@ ScriptInfos:: 1: When config file is deleted and then another file is opened Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/jsconfig.json: *new* - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} - -Timeout callback:: count: 2 -1: /user/username/projects/myproject/folder/jsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +1: *ensureProjectForOpenFiles* *new* Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -258,16 +233,8 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" - } - } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { "rootNames": [ "/user/username/projects/myproject/folder/commonFile2.ts" @@ -281,6 +248,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots @@ -394,13 +371,27 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/jsconfig.json: *new* + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -428,10 +419,9 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/folder/jsconfig.json -3: /user/username/projects/myproject/folder/tsconfig.json -4: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 2 +2: /user/username/projects/myproject/folder/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -440,11 +430,10 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -2: *ensureProjectForOpenFiles* *deleted* -1: /user/username/projects/myproject/folder/jsconfig.json -3: /user/username/projects/myproject/folder/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +1: *ensureProjectForOpenFiles* *deleted* +2: /user/username/projects/myproject/folder/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/jsconfig.json (Configured) @@ -458,7 +447,6 @@ Projects:: isOrphan: false *changed* deferredClose: undefined *changed* -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] event: { @@ -1198,6 +1186,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1208,14 +1204,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -1349,16 +1337,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { "rootNames": [ "/user/username/projects/myproject/folder/commonFile2.ts" @@ -1372,6 +1350,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots @@ -1486,11 +1474,11 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 1 -5: *ensureProjectForOpenFiles* +4: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] deleted Timeout callback:: count: 1 -5: *ensureProjectForOpenFiles* *new* +4: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/jsconfig.json (Configured) @@ -1636,8 +1624,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -6: /user/username/projects/myproject/folder/tsconfig.json -7: *ensureProjectForOpenFiles* +5: /user/username/projects/myproject/folder/tsconfig.json +6: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -1647,8 +1635,8 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -6: /user/username/projects/myproject/folder/tsconfig.json *new* -7: *ensureProjectForOpenFiles* *new* +5: /user/username/projects/myproject/folder/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject2* (Inferred) @@ -2485,6 +2473,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -2495,14 +2491,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -2624,40 +2612,15 @@ ScriptInfos:: 3: Check when both files are closed when config file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/jsconfig.json: *new* - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} - -Timeout callback:: count: 2 -8: /user/username/projects/myproject/folder/jsconfig.json *new* -9: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +7: *ensureProjectForOpenFiles* *new* Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -2675,16 +2638,8 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" - } - } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { "rootNames": [ "/user/username/projects/myproject/folder/commonFile2.ts" @@ -2698,6 +2653,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots @@ -2764,13 +2729,27 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/jsconfig.json: *new* + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -3188,6 +3167,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -3198,14 +3185,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -3328,42 +3307,16 @@ ScriptInfos:: 4: Check when both files are closed one by one when file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/jsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/jsconfig.json: *new* - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} - -Timeout callback:: count: 2 -8: /user/username/projects/myproject/folder/jsconfig.json *deleted* -9: *ensureProjectForOpenFiles* *deleted* -10: /user/username/projects/myproject/folder/jsconfig.json *new* -11: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +7: *ensureProjectForOpenFiles* *deleted* +8: *ensureProjectForOpenFiles* *new* Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -3381,17 +3334,9 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { "rootNames": [ "/user/username/projects/myproject/folder/commonFile2.ts" ], @@ -3404,6 +3349,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots @@ -3470,13 +3425,27 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/jsconfig.json: *new* + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -3599,7 +3568,6 @@ 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -3647,15 +3615,13 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/jsconfig.json: {} /user/username/projects/myproject/folder/tsconfig.json: {} -FsWatches *deleted*:: -/user/username/projects/myproject/folder/commonFile1.ts: - {} - Projects:: /dev/null/inferredProject5* (Inferred) *new* projectStateVersion: 1 @@ -3678,7 +3644,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject5* *new* -/user/username/projects/myproject/folder/commonFile1.ts *deleted* +/user/username/projects/myproject/folder/commonFile1.ts version: SVC-4-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json @@ -3745,6 +3711,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} /user/username/projects/myproject/folder/jsconfig.json: @@ -3776,6 +3744,10 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject5* +/user/username/projects/myproject/folder/commonFile1.ts + version: SVC-4-0 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-4-0 @@ -3841,6 +3813,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: {} /user/username/projects/myproject/folder/jsconfig.json: @@ -3874,6 +3848,10 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject5* +/user/username/projects/myproject/folder/commonFile1.ts + version: SVC-4-0 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-4-0 containingProjects: 1 @@ -3953,6 +3931,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/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -3995,6 +3974,8 @@ FsWatches:: {} FsWatches *deleted*:: +/user/username/projects/myproject/folder/commonFile1.ts: + {} /user/username/projects/myproject/folder/commonFile2.ts: {} /user/username/projects/myproject/folder/jsconfig.json: @@ -4030,6 +4011,10 @@ ScriptInfos:: /dev/null/inferredProject5* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/jsconfig.json *deleted* +/user/username/projects/myproject/folder/commonFile1.ts *deleted* + version: SVC-4-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-4-0 containingProjects: 0 *changed* @@ -4122,6 +4107,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -4132,14 +4125,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -4261,42 +4246,16 @@ ScriptInfos:: 5: Check when both files are closed one by one when file is deleted order changed Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/jsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/jsconfig.json: *new* - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} - -Timeout callback:: count: 2 -10: /user/username/projects/myproject/folder/jsconfig.json *deleted* -11: *ensureProjectForOpenFiles* *deleted* -12: /user/username/projects/myproject/folder/jsconfig.json *new* -13: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +8: *ensureProjectForOpenFiles* *deleted* +9: *ensureProjectForOpenFiles* *new* Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -4314,16 +4273,8 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" - } - } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { "rootNames": [ "/user/username/projects/myproject/folder/commonFile2.ts" @@ -4337,6 +4288,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots @@ -4403,13 +4364,27 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/jsconfig.json: *new* + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -4482,6 +4457,18 @@ FsWatches:: /user/username/projects/myproject/folder/tsconfig.json: {} +Projects:: +/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true + ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 @@ -4532,11 +4519,28 @@ 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 '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -4579,22 +4583,26 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile2.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} -/user/username/projects/myproject/folder/tsconfig.json: - {} Projects:: /dev/null/inferredProject6* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/folder/jsconfig.json (Configured) +/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + isClosed: true *changed* + noOpenRef: true + autoImportProviderHost: undefined *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -4604,18 +4612,18 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject6* *new* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-5-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts +/user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-5-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-8-0 containingProjects: 1 @@ -4636,10 +4644,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -4677,10 +4681,6 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} -/user/username/projects/myproject/folder/commonFile2.ts: - {} -/user/username/projects/myproject/folder/jsconfig.json: - {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -4689,11 +4689,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* - autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -4704,19 +4699,14 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject6* /user/username/projects/myproject/folder/commonFile1.ts *changed* open: false *changed* version: SVC-5-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts - version: SVC-5-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json /user/username/projects/random/random.ts (Open) version: SVC-8-0 containingProjects: 1 @@ -4738,10 +4728,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -4779,10 +4765,6 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile1.ts: {} -/user/username/projects/myproject/folder/commonFile2.ts: - {} -/user/username/projects/myproject/folder/jsconfig.json: - {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -4793,11 +4775,6 @@ Projects:: dirty: true *changed* isOrphan: true *changed* autoImportProviderHost: false -/user/username/projects/myproject/folder/jsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true - autoImportProviderHost: false /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -4808,18 +4785,13 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject6* /user/username/projects/myproject/folder/commonFile1.ts version: SVC-5-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts - version: SVC-5-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json /user/username/projects/random/random.ts *deleted* open: false *changed* version: SVC-8-0 @@ -4875,28 +4847,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/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - commonFile2.ts - Part of 'files' list in tsconfig.json - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -4940,10 +4891,6 @@ FsWatches:: FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile1.ts: {} -/user/username/projects/myproject/folder/commonFile2.ts: - {} -/user/username/projects/myproject/folder/jsconfig.json: - {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -4954,12 +4901,6 @@ Projects:: dirty: false *changed* isOrphan: false *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true - autoImportProviderHost: undefined *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 @@ -4974,15 +4915,10 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject6* /user/username/projects/myproject/folder/tsconfig.json *deleted* - /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: SVC-5-0 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* -/user/username/projects/myproject/folder/commonFile2.ts *deleted* - version: SVC-5-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/folder/jsconfig.json *deleted* /user/username/projects/random/random.ts (Open) *new* version: SVC-9-0 containingProjects: 1 @@ -5072,6 +5008,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -5082,14 +5026,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -5223,16 +5159,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { "rootNames": [ "/user/username/projects/myproject/folder/commonFile2.ts" @@ -5246,6 +5172,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots 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 23c02d0f1d301..577fa29d025eb 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/commonFile1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/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 23b8c2f687906..995db97f7ceff 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 @@ -45,6 +45,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/f1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/f1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -55,14 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/f1.ts" - ], - "options": { - "configFilePath": "/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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots 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 082a9d40665ce..9fc6a7749556e 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/f1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/f1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/f1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/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 fd5b3f9705a8b..fd6a94c99b8b5 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 @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/f1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/f1.ts", + "/user/username/projects/project/f2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/f1.ts", - "/user/username/projects/project/f2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/f2.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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 8d33978e5d881..26f3fb216c4c8 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 @@ -47,6 +47,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/solution/projects/project/file1.ts ProjectRootPath: undefined:: Result: /users/username/solution/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/solution/projects/project/tsconfig.json, currentDirectory: /users/username/solution/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/solution/projects/project/tsconfig.json 2000 undefined Project: /users/username/solution/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/solution/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/solution/projects/project/file1.ts" + ], + "options": { + "module": 2, + "configFilePath": "/users/username/solution/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -57,15 +66,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/solution/projects/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/solution/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/solution/projects/project/file1.ts" - ], - "options": { - "module": 2, - "configFilePath": "/users/username/solution/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/solution/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/solution/projects/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 8b4c7538b5d94..ac05aa2d933af 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 @@ -48,6 +48,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/project/project/a/b/f1.ts ProjectRootPath: undefined:: Result: /home/src/project/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/project/project/a/b/tsconfig.json, currentDirectory: /home/src/project/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/a/b/tsconfig.json 2000 undefined Project: /home/src/project/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/project/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/project/project/a/b/f1.ts", + "/home/src/project/project/a/b/f2.ts" + ], + "options": { + "configFilePath": "/home/src/project/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -58,15 +67,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/project/project/a/b/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/project/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/project/project/a/b/f1.ts", - "/home/src/project/project/a/b/f2.ts" - ], - "options": { - "configFilePath": "/home/src/project/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/b 0 undefined Config: /home/src/project/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/b 0 undefined Config: /home/src/project/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/a/b/f2.ts 500 undefined WatchType: Closed Script info 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 1a58e27e02bfb..a0d9a07c6570e 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 @@ -48,6 +48,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/project/project/a/b/c/f1.ts ProjectRootPath: undefined:: Result: /home/src/project/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/project/project/a/b/tsconfig.json, currentDirectory: /home/src/project/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/a/b/tsconfig.json 2000 undefined Project: /home/src/project/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/project/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/project/project/a/b/c/f1.ts", + "/home/src/project/project/a/b/d/f2.ts" + ], + "options": { + "configFilePath": "/home/src/project/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -58,15 +67,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/project/project/a/b/c/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/project/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/project/project/a/b/c/f1.ts", - "/home/src/project/project/a/b/d/f2.ts" - ], - "options": { - "configFilePath": "/home/src/project/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/b 1 undefined Config: /home/src/project/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/b 1 undefined Config: /home/src/project/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/a/b/d/f2.ts 500 undefined WatchType: Closed Script info 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 14a304a47f659..d2e790b705233 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 @@ -49,6 +49,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/bar.ts", + "/user/username/projects/myproject/src/foo.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -59,15 +68,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/foo.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/bar.ts", - "/user/username/projects/myproject/src/foo.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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] Elapsed:: *ms DirectoryWatcher:: Added:: 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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info 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 382627acaa48e..0d5d0c36637d4 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 @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/bar.ts", + "/user/username/projects/myproject/src/foo.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/foo.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/bar.ts", - "/user/username/projects/myproject/src/foo.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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] Elapsed:: *ms DirectoryWatcher:: Added:: 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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info 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 98d8978cffaa5..e5b675582f41f 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 @@ -49,6 +49,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/bar.ts", + "/user/username/projects/myproject/src/foo.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -59,15 +68,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/foo.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/bar.ts", - "/user/username/projects/myproject/src/foo.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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] Elapsed:: *ms DirectoryWatcher:: Added:: 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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info 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 52ba05d4e99ea..9f62b24c556a6 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 @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/bar.ts", + "/user/username/projects/myproject/src/foo.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/foo.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/bar.ts", - "/user/username/projects/myproject/src/foo.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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] Elapsed:: *ms DirectoryWatcher:: Added:: 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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info 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 7024fa1775ba4..5bbcb1fdab640 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 @@ -49,6 +49,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/bar.ts", + "/user/username/projects/myproject/src/foo.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -59,15 +68,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/foo.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/bar.ts", - "/user/username/projects/myproject/src/foo.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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] Elapsed:: *ms DirectoryWatcher:: Added:: 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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info 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 40aa83d4e7644..8b1340c446129 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 @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/bar.ts", + "/user/username/projects/myproject/src/foo.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/foo.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/bar.ts", - "/user/username/projects/myproject/src/foo.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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] Elapsed:: *ms DirectoryWatcher:: Added:: 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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info 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 25f01425543b0..25c7b29993eaa 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 @@ -49,6 +49,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/bar.ts", + "/user/username/projects/myproject/src/foo.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -59,15 +68,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/foo.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/bar.ts", - "/user/username/projects/myproject/src/foo.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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] Elapsed:: *ms DirectoryWatcher:: Added:: 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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info 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 94ab0b0a27aec..1c673f8c87887 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 @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/bar.ts", + "/user/username/projects/myproject/src/foo.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/foo.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/bar.ts", - "/user/username/projects/myproject/src/foo.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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] Elapsed:: *ms DirectoryWatcher:: Added:: 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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info 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 fc3a52af0608a..52aa43c75d9aa 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 @@ -51,6 +51,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/rootfolder/a/b/src/file1.ts ProjectRootPath: undefined:: Result: /user/username/rootfolder/a/b/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/rootfolder/a/b/src/tsconfig.json, currentDirectory: /user/username/rootfolder/a/b/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src/tsconfig.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/a/b/src/tsconfig.json : { + "rootNames": [ + "/user/username/rootfolder/a/b/src/file1.ts" + ], + "options": { + "configFilePath": "/user/username/rootfolder/a/b/src/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -61,14 +69,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/rootfolder/a/b/src/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/a/b/src/tsconfig.json : { - "rootNames": [ - "/user/username/rootfolder/a/b/src/file1.ts" - ], - "options": { - "configFilePath": "/user/username/rootfolder/a/b/src/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/a/b/src/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/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: /user/username/rootfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache 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 1581b4edc4a28..4805fbd826e41 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 @@ -47,16 +47,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/a/tsconfig.json, currentDirectory: /user/username/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/tsconfig.json 2000 undefined Project: /user/username/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/a/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/tsconfig.json : { "rootNames": [ "/user/username/projects/project/a/app.js", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/tsconfig.json "configFilePath": "/user/username/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/a/app.js to open" + } + } Info seq [hh:mm:ss:mss] Non TS file size exceeded limit (20971530). Largest files: /user/username/projects/project/a/largefile.js:20971521, /user/username/projects/project/a/app.js:9, /user/username/projects/project/a/lib.js:9 Info seq [hh:mm:ss:mss] event: { 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 8470f48f74d13..154cceb0850bb 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 @@ -48,6 +48,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/b/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/b/tsconfig.json, currentDirectory: /user/username/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b/tsconfig.json 2000 undefined Project: /user/username/projects/project/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/b/commonFile1.ts", + "/user/username/projects/project/b/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -58,15 +67,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/b/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/b/commonFile1.ts", - "/user/username/projects/project/b/commonFile2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 1 undefined Config: /user/username/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 1 undefined Config: /user/username/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b/commonFile2.ts 500 undefined WatchType: Closed Script info 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 813beef4ce7c9..0df46c0cd2f30 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/commonFile1.ts", + "/user/username/projects/project/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/commonFile1.ts", - "/user/username/projects/project/commonFile2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info 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 3bf86914b94e6..98de1d2c60d0e 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 @@ -252,17 +252,14 @@ ScriptInfos:: 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/c/f3.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/c/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/a/c -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/a/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms 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] 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/c/f3.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms 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 -Before running Timeout callback:: count: 2 -1: /user/username/projects/myproject/a/c/tsconfig.json -3: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/a/c/tsconfig.json] { "compilerOptions": {}, @@ -309,36 +306,26 @@ FsWatches:: /user/username/projects/myproject/a/c/tsconfig.json: *new* {} -Timeout callback:: count: 2 -1: /user/username/projects/myproject/a/c/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* *new* -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/dev/null/inferredProject2* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/user/username/projects/myproject/a/c/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +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] Running: /user/username/projects/myproject/a/c/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/c/tsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/a/c/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/a/c/f3.ts to open" - } - } +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] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a/b/f1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a/c/f3.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/a/c Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/c/f2.ts", @@ -348,6 +335,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/c/tsconfig. "configFilePath": "/user/username/projects/myproject/a/c/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/c/f3.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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: /user/username/projects/myproject/a/c/tsconfig.json @@ -434,30 +431,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/a/c/tsconfig.json", + "triggerFile": "/user/username/projects/myproject/a/c/f3.ts", "configFile": "/user/username/projects/myproject/a/c/tsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/c/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] 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] Open files: -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a/b/f1.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*,/user/username/projects/myproject/a/c/tsconfig.json -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a/c/f3.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/a/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/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/a/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -560,12 +538,10 @@ Projects:: projectProgramVersion: 2 *changed* isOrphan: true *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/a/c/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/a/c/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* 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 a806aaef56c55..c8793b38a537c 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 @@ -46,6 +46,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/a/tsconfig.json, currentDirectory: /user/username/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/tsconfig.json 2000 undefined Project: /user/username/projects/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/tsconfig.json : { + "rootNames": [], + "options": { + "configFilePath": "/user/username/projects/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,12 +62,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/a/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/tsconfig.json : { - "rootNames": [], - "options": { - "configFilePath": "/user/username/projects/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types 1 undefined Project: /user/username/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types 1 undefined Project: /user/username/projects/project/a/tsconfig.json WatchType: Type roots 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 eb89693c33495..0acc0d8c48518 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/file1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/file1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 d1f92fe938012..49792c42bba2a 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 @@ -40,6 +40,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/a/b/tsconfig.json, currentDirectory: /user/username/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/tsconfig.json 2000 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { + "rootNames": [], + "options": { + "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,12 +56,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/a/b/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { - "rootNames": [], - "options": { - "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/app 0 undefined Config: /user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/app 0 undefined Config: /user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/test 1 undefined Config: /user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory 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 d535579c97ce5..a965ae3dbd5b3 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 @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/commonFile1.ts", + "/user/username/projects/project/commonFile3.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/commonFile1.ts", - "/user/username/projects/project/commonFile3.ts" - ], - "options": { - "configFilePath": "/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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile3.ts 500 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Missing file 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 1b9dc2c7446bd..0196f2d168423 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 @@ -47,6 +47,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/a/b/tsconfig.json, currentDirectory: /user/username/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/tsconfig.json 2000 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/a/b/main.ts" + ], + "options": { + "target": 2, + "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -57,15 +66,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/a/b/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/a/b/main.ts" - ], - "options": { - "target": 2, - "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/obj-a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es6.d.ts 500 undefined WatchType: Closed Script info 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 3be439b3fc1d7..c35041d7c5aa0 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 @@ -44,6 +44,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/main.ts" + ], + "options": { + "target": 2, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,15 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/main.ts" - ], - "options": { - "target": 2, - "configFilePath": "/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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es6.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots 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 f995abe631f2f..9a7dca654c5f5 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 @@ -53,6 +53,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/b/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/a/b/tsconfig.json, currentDirectory: /user/username/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/tsconfig.json 2000 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/a/b/file1.ts" + ], + "options": { + "moduleResolution": 2, + "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -63,15 +72,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/a/b/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/a/b/file1.ts" - ], - "options": { - "moduleResolution": 2, - "configFilePath": "/user/username/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/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: /user/username/projects/project/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache 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 c10df19729f22..88961b0e244e4 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 @@ -48,16 +48,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/main.ts", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/main2.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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es6.d.ts 500 undefined WatchType: Closed Script info 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 bfdbb8bd0f823..b438943115748 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 @@ -67,6 +67,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/a/a.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/a/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: { "seq": 0, @@ -77,15 +86,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/a/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/a/a.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/a/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -234,6 +234,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/b/tsconfig.json, currentDirectory: /user/username/projects/myproject/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/b/b.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/b/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: { "seq": 0, @@ -244,15 +253,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/b/b.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/b/b.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/b/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/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/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -421,6 +421,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dummy/dummy.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dummy/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dummy/tsconfig.json, currentDirectory: /user/username/projects/myproject/dummy Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dummy/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dummy/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dummy/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/dummy/dummy.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/dummy/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -431,14 +439,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/dummy/dummy.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dummy/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/dummy/dummy.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/dummy/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dummy 1 undefined Config: /user/username/projects/myproject/dummy/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dummy 1 undefined Config: /user/username/projects/myproject/dummy/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dummy/tsconfig.json 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 6c5c0c9b1bfb6..f8f94a11bc6dd 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 @@ -46,16 +46,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/commonFile1.ts", @@ -66,6 +56,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info 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 23246a38b840b..4813b90e78e32 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 @@ -45,6 +45,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/server/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/src/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/src/server/tsconfig.json, currentDirectory: /user/username/projects/myproject/src/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/src/server/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/src/server/tsconfig.json : { + "rootNames": [], + "options": { + "configFilePath": "/user/username/projects/myproject/src/server/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -55,12 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/server/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/src/server/tsconfig.json : { - "rootNames": [], - "options": { - "configFilePath": "/user/username/projects/myproject/src/server/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/src 1 undefined Config: /user/username/projects/myproject/src/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/src 1 undefined Config: /user/username/projects/myproject/src/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/server/tsconfig.json 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 fef089f5e6034..ec79a47ba3c6d 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 @@ -61,6 +61,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/a/a.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/a/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: { "seq": 0, @@ -71,15 +80,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/a/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/a/a.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/a/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -228,6 +228,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/b/tsconfig.json, currentDirectory: /user/username/projects/myproject/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/b/b.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/b/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: { "seq": 0, @@ -238,15 +247,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/b/b.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/b/b.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/b/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/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/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots 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 f7b0934b116d2..235d04f7c241a 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 @@ -40,16 +40,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/a/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/a/jsconfig.json, currentDirectory: /user/username/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/jsconfig.json 2000 undefined Project: /user/username/projects/project/a/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/a/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/a/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/jsconfig.json : { "rootNames": [ "/user/username/projects/project/a/app.js", @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/jsconfig.json "configFilePath": "/user/username/projects/project/a/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/a/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/a/app.js to open" + } + } Info seq [hh:mm:ss:mss] Non TS file size exceeded limit (20971533). Largest files: /user/username/projects/project/a/largefile.js:20971521, /user/username/projects/project/a/app.js:12 Info seq [hh:mm:ss:mss] event: { 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 f6275707f342f..e10686f747f85 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 @@ -82,6 +82,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/bar/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/bar/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/bar/tsconfig.json, currentDirectory: /user/username/projects/myproject/bar Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/bar/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/bar/index.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/bar/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -92,14 +100,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/bar/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/bar/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/bar/index.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/bar/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar 1 undefined Config: /user/username/projects/myproject/bar/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar 1 undefined Config: /user/username/projects/myproject/bar/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/bar/tsconfig.json @@ -266,6 +266,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/foobar/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/foobar/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/foobar/tsconfig.json, currentDirectory: /user/username/projects/myproject/foobar Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foobar/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/foobar/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/foobar/index.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/foobar/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -276,14 +284,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/foobar/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/foobar/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/foobar/index.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/foobar/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foobar 1 undefined Config: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foobar 1 undefined Config: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/foobar/tsconfig.json @@ -695,16 +695,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/foo/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/foo/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/foo/tsconfig.json, currentDirectory: /user/username/projects/myproject/foo Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/foo/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/foo/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/foo/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/foo/index.ts" @@ -715,6 +705,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/foo/tsconfig. "configFilePath": "/user/username/projects/myproject/foo/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/foo/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/foo/index.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/foo/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/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/myproject/foo/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots 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 59dbd20024efc..862cd59e4d842 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 @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/^app.ts", + "/user/username/projects/myproject/file.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/file.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/^app.ts", - "/user/username/projects/myproject/file.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/^app.ts 500 undefined WatchType: Closed Script info 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 6a53f452e41fa..95fb66e2a07a1 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/foo/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/foo/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/foo/tsconfig.json, currentDirectory: /user/username/projects/myproject/foo Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/foo/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/foo/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/foo/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/foo/index.ts" @@ -96,6 +86,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/foo/tsconfig. "configFilePath": "/user/username/projects/myproject/foo/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/foo/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/foo/index.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/foo/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations @@ -277,16 +277,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/bar/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/bar/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/bar/tsconfig.json, currentDirectory: /user/username/projects/myproject/bar Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/bar/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/bar/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/bar/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/bar/index.ts" @@ -299,6 +289,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/bar/tsconfig. "configFilePath": "/user/username/projects/myproject/bar/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/bar/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/bar/index.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/bar/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/node_modules 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/node_modules 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Failed Lookup Locations 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 fc342d8f21d0b..0644c3fdbdc7d 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json @@ -870,16 +870,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -892,6 +882,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json 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 11c9160599985..083443ee7e23f 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 @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js index 3f9c4f54595f0..f1cc16850c85b 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json @@ -875,16 +875,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating project for original file: /home/src/projects/project/a/a.ts for location: /home/src/projects/project/a/bin/a.d.ts" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -897,6 +887,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating project for original file: /home/src/projects/project/a/a.ts for location: /home/src/projects/project/a/bin/a.d.ts" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -934,7 +934,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/projects/project/a/tsconfig.json", + "triggerFile": "/home/src/projects/project/a/a.ts", "configFile": "/home/src/projects/project/a/tsconfig.json", "diagnostics": [] } 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 2109049b93b4e..625912ef2eae9 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 @@ -71,16 +71,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -329,16 +329,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -353,6 +343,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js index d4a957a9f0fde..3b6a5587e9e9a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json @@ -875,16 +875,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating project for original file: /home/src/projects/project/a/a.ts for location: /home/src/projects/project/a/bin/a.d.ts" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -897,6 +887,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating project for original file: /home/src/projects/project/a/a.ts for location: /home/src/projects/project/a/bin/a.d.ts" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -934,7 +934,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/projects/project/a/tsconfig.json", + "triggerFile": "/home/src/projects/project/a/a.ts", "configFile": "/home/src/projects/project/a/tsconfig.json", "diagnostics": [] } 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 2b622f8a35c26..10c6ee167e777 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js @@ -117,16 +117,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -139,6 +129,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -378,16 +378,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -400,6 +390,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json @@ -716,16 +716,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/user/user.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/user/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/user/tsconfig.json, currentDirectory: /home/src/projects/project/user Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/user/tsconfig.json 2000 undefined Project: /home/src/projects/project/user/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/user/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/user/user.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/user/tsconfig.json : { "rootNames": [ "/home/src/projects/project/user/user.ts" @@ -744,6 +734,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/user/tsconfig.json : } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/user/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/user/user.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/user 1 undefined Config: /home/src/projects/project/user/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/user 1 undefined Config: /home/src/projects/project/user/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/user/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js index 23ac9d8a4e6c9..1b9667495bec7 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json 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 44c2d9f9702ae..048c06ad301d8 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 @@ -63,16 +63,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/src/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/src/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/src/a.ts" @@ -85,6 +75,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/src/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -243,16 +243,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/src/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/src/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/src/b.ts" @@ -269,6 +259,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/src/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b/src 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b/src 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js index e5ad07dfaeae8..4634cac58d33a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json 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 f8dde88d00bb8..8a4fce161bbfa 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 @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js index b648b2f86681f..606f31852c282 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js index 37252b3f256b7..06ccb8b932f4c 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js index 20934e73715c9..c0f65d3048091 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js index dbb0f01c8a70c..d430da400e160 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json 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 8f758069f629e..cb6dfb0f0a56d 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 @@ -117,16 +117,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -139,6 +129,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -378,16 +378,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -400,6 +390,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json @@ -686,16 +686,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/user/user.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/user/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/user/tsconfig.json, currentDirectory: /home/src/projects/project/user Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/user/tsconfig.json 2000 undefined Project: /home/src/projects/project/user/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/user/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/user/user.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/user/tsconfig.json : { "rootNames": [ "/home/src/projects/project/user/user.ts" @@ -714,6 +704,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/user/tsconfig.json : } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/user/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/user/user.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/user 1 undefined Config: /home/src/projects/project/user/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/user 1 undefined Config: /home/src/projects/project/user/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/user/tsconfig.json 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 5a29149d0e8c9..225ef9f7723bd 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 @@ -117,16 +117,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -139,6 +129,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -378,16 +378,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -400,6 +390,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json @@ -686,16 +686,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/user/user.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/user/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/user/tsconfig.json, currentDirectory: /home/src/projects/project/user Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/user/tsconfig.json 2000 undefined Project: /home/src/projects/project/user/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/user/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/user/user.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/user/tsconfig.json : { "rootNames": [ "/home/src/projects/project/user/user.ts" @@ -714,6 +704,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/user/tsconfig.json : } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/user/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/user/user.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/user 1 undefined Config: /home/src/projects/project/user/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/user 1 undefined Config: /home/src/projects/project/user/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/user/tsconfig.json 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 396f6d18903ad..6b87e6308cf2a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json @@ -870,16 +870,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -892,6 +882,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json 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 16a8e50b1c89d..b575397507756 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 @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js index 2b8c0ae058d03..3d1398f6a90ab 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json @@ -874,16 +874,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating project for original file: /home/src/projects/project/a/a.ts for location: /home/src/projects/project/a/bin/a.d.ts" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -896,6 +886,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating project for original file: /home/src/projects/project/a/a.ts for location: /home/src/projects/project/a/bin/a.d.ts" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -933,7 +933,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/projects/project/a/tsconfig.json", + "triggerFile": "/home/src/projects/project/a/a.ts", "configFile": "/home/src/projects/project/a/tsconfig.json", "diagnostics": [] } diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js index 9e1244a3bb037..c93792b2bb91a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -363,16 +363,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/b.ts" @@ -385,6 +375,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json @@ -874,16 +874,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating project for original file: /home/src/projects/project/a/a.ts for location: /home/src/projects/project/a/bin/a.d.ts" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/a.ts" @@ -896,6 +886,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating project for original file: /home/src/projects/project/a/a.ts for location: /home/src/projects/project/a/bin/a.d.ts" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -933,7 +933,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/projects/project/a/tsconfig.json", + "triggerFile": "/home/src/projects/project/a/a.ts", "configFile": "/home/src/projects/project/a/tsconfig.json", "diagnostics": [] } 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 89eb0fb84a3e3..ce7447d6ff42f 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 @@ -44,6 +44,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/index.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,14 +62,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/index.ts" - ], - "options": { - "configFilePath": "/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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 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/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations 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 b01e90a438440..00af621318d46 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 @@ -44,6 +44,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/index.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,14 +62,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/index.ts" - ], - "options": { - "configFilePath": "/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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 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/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations 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 001742a00c6e0..0a8894b2f2327 100644 --- a/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js +++ b/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js @@ -60,6 +60,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/user.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/user.ts", + "/home/src/projects/project/b/user.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -70,15 +79,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/user.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/user.ts", - "/home/src/projects/project/b/user.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/user.ts 500 undefined WatchType: Closed Script info 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 97592950f5992..6d4a8eaba92bf 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 @@ -294,6 +294,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/file.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -304,14 +312,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/file.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/file.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files-without-inferred-project-per-projectRootPath.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files-without-inferred-project-per-projectRootPath.js index 1181ec451b708..0901bd32af1c6 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files-without-inferred-project-per-projectRootPath.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files-without-inferred-project-per-projectRootPath.js @@ -55,6 +55,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/Untitled-1.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/Untitled-1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -65,14 +73,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/Untitled-1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/Untitled-1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js index c3ae9468de5bc..47d526fe35efd 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js @@ -251,6 +251,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/Untitled-1.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/Untitled-1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -261,14 +269,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/Untitled-1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/Untitled-1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 3cdcff1a01894..2c72f9c82f4b0 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/proj/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/proj/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/proj/tsconfig.json, currentDirectory: /home/src/projects/project/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/proj/tsconfig.json 2000 undefined Project: /home/src/projects/project/proj/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/proj/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/proj/a.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/proj/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/proj/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/proj/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/proj/a.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/proj/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/proj 1 undefined Config: /home/src/projects/project/proj/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/proj 1 undefined Config: /home/src/projects/project/proj/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/proj/tsconfig.json 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 cd7513db67066..869c9b95235cf 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 @@ -49,16 +49,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/file.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/file.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/file.ts", @@ -69,6 +59,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/file.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/large.js 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] Skipped loading contents of large file /user/username/projects/myproject/src/large.js for info /user/username/projects/myproject/src/large.js: fileSize: 4194305 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 5ca5395a5bc67..a8c52e4a82f22 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 @@ -49,16 +49,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/file.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/file.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/file.ts", @@ -69,6 +59,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/file.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/large.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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 a916534e13a8e..7efaa6cd4cb6d 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 @@ -40,16 +40,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js", @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] Non TS file size exceeded limit (20971531). Largest files: /user/username/projects/project/largefile.js:20971521, /user/username/projects/project/app.js:10 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 e7d72f34f66b9..f9e2b7e519fae 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 @@ -43,16 +43,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] Non TS file size exceeded limit (20971531). Largest files: /user/username/projects/project/largefile.js:20971521, /user/username/projects/project/app.js:10 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-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 ce31fa761fe68..7649deb36867b 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 @@ -45,6 +45,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/b/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/b/tsconfig.json, currentDirectory: /user/username/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/tsconfig.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/b/b.ts" + ], + "options": { + "configFilePath": "/user/username/projects/b/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: { "seq": 0, @@ -55,15 +64,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/b/b.ts" - ], - "options": { - "configFilePath": "/user/username/projects/b/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json 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 1c6b834dcd6c9..7dbc5c60db0f9 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 @@ -45,6 +45,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/b/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/b/tsconfig.json, currentDirectory: /user/username/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/tsconfig.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/b/b.ts" + ], + "options": { + "configFilePath": "/user/username/projects/b/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: { "seq": 0, @@ -55,15 +64,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/b/b.ts" - ], - "options": { - "configFilePath": "/user/username/projects/b/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json 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 caf16d2200125..42430d440814e 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/a/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/a/tsconfig.json, currentDirectory: /user/username/projects/a 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] Config: /user/username/projects/a/tsconfig.json : { + "rootNames": [ + "/user/username/projects/a/a.ts" + ], + "options": { + "configFilePath": "/user/username/projects/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/a/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/a/tsconfig.json : { - "rootNames": [ - "/user/username/projects/a/a.ts" - ], - "options": { - "configFilePath": "/user/username/projects/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json 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 802ee0db7eaf9..ac267c4a8849a 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/a/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/a/tsconfig.json, currentDirectory: /user/username/projects/a 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] Config: /user/username/projects/a/tsconfig.json : { + "rootNames": [ + "/user/username/projects/a/a.ts" + ], + "options": { + "configFilePath": "/user/username/projects/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/a/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/a/tsconfig.json : { - "rootNames": [ - "/user/username/projects/a/a.ts" - ], - "options": { - "configFilePath": "/user/username/projects/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 6aa733bb502a9..df41f43a98758 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 @@ -103,6 +103,14 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/a/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/a/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /user/username/projects/a/tsconfig.json : { + "rootNames": [ + "/user/username/projects/a/a.ts" + ], + "options": { + "configFilePath": "/user/username/projects/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -113,14 +121,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating configured project in external project: /user/username/projects/a/project.csproj" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/a/tsconfig.json : { - "rootNames": [ - "/user/username/projects/a/a.ts" - ], - "options": { - "configFilePath": "/user/username/projects/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json 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 2a8d1f4889c9f..acab9c1c55d6d 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 @@ -103,6 +103,14 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/a/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/a/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /user/username/projects/a/tsconfig.json : { + "rootNames": [ + "/user/username/projects/a/a.ts" + ], + "options": { + "configFilePath": "/user/username/projects/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -113,14 +121,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating configured project in external project: /user/username/projects/a/project.csproj" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/a/tsconfig.json : { - "rootNames": [ - "/user/username/projects/a/a.ts" - ], - "options": { - "configFilePath": "/user/username/projects/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json 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 806bf27692fce..65ba2a2ab2a9e 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/b/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/b/tsconfig.json, currentDirectory: /user/username/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/tsconfig.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { "rootNames": [ "/user/username/projects/b/b.ts" @@ -95,6 +85,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json 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 de805065b06dd..c9ccf7d28c7e4 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/b/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/b/tsconfig.json, currentDirectory: /user/username/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/tsconfig.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::projectLoadingStart", - "body": { - "project": "/user/username/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { "rootNames": [ "/user/username/projects/b/b.ts" @@ -95,6 +85,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "CustomHandler::projectLoadingStart", + "body": { + "project": "/user/username/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json 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 89abe6ec10a19..65d3b184a807a 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 @@ -67,16 +67,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/b/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/b/tsconfig.json, currentDirectory: /user/username/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/tsconfig.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { "rootNames": [ "/user/username/projects/b/b.ts" @@ -91,6 +81,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json 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 61a737ea8b069..078b75ad99bbe 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 @@ -67,16 +67,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/b/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/b/tsconfig.json, currentDirectory: /user/username/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/tsconfig.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::projectLoadingStart", - "body": { - "project": "/user/username/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { "rootNames": [ "/user/username/projects/b/b.ts" @@ -91,6 +81,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "CustomHandler::projectLoadingStart", + "body": { + "project": "/user/username/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json 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 ec7dee709735f..cec71d5055691 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 @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/a/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/a/tsconfig.json, currentDirectory: /user/username/projects/a 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] Config: /user/username/projects/a/tsconfig.json : { + "rootNames": [ + "/user/username/projects/a/a.ts" + ], + "options": { + "configFilePath": "/user/username/projects/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/a/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/a/tsconfig.json : { - "rootNames": [ - "/user/username/projects/a/a.ts" - ], - "options": { - "configFilePath": "/user/username/projects/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json @@ -209,6 +209,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/b/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/b/tsconfig.json, currentDirectory: /user/username/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/tsconfig.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/b/b.ts" + ], + "options": { + "configFilePath": "/user/username/projects/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -219,14 +227,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/b/b.ts" - ], - "options": { - "configFilePath": "/user/username/projects/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json 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 c8a021f841ed9..4b755cecb9328 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 @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/a/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/a/tsconfig.json, currentDirectory: /user/username/projects/a 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] Config: /user/username/projects/a/tsconfig.json : { + "rootNames": [ + "/user/username/projects/a/a.ts" + ], + "options": { + "configFilePath": "/user/username/projects/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/a/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/a/tsconfig.json : { - "rootNames": [ - "/user/username/projects/a/a.ts" - ], - "options": { - "configFilePath": "/user/username/projects/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json @@ -206,6 +206,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/b/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/b/tsconfig.json, currentDirectory: /user/username/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/tsconfig.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/b/b.ts" + ], + "options": { + "configFilePath": "/user/username/projects/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -216,14 +224,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/b/b.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/b/b.ts" - ], - "options": { - "configFilePath": "/user/username/projects/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json 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 8a2f51b0e133f..2e07b3cf05cbf 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 @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/project/file1.ts ProjectRootPath: undefined:: Result: /a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/b/project/tsconfig.json, currentDirectory: /a/b/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/tsconfig.json 2000 undefined Project: /a/b/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::projectLoadingStart", - "body": { - "project": "/a/b/project/tsconfig.json", - "reason": "Creating possible configured project for /a/b/project/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /a/b/project/tsconfig.json : { "rootNames": [ "/a/b/project/file1.ts", @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /a/b/project/tsconfig.json : { "configFilePath": "/a/b/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "CustomHandler::projectLoadingStart", + "body": { + "project": "/a/b/project/tsconfig.json", + "reason": "Creating possible configured project for /a/b/project/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 undefined Config: /a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 undefined Config: /a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info 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 824129428b415..4d296d5007b0a 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 @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/rootfolder/otherfolder/a/b/project/file1.ts ProjectRootPath: undefined:: Result: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json, currentDirectory: /user/username/rootfolder/otherfolder/a/b/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::projectLoadingStart", - "body": { - "project": "/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/rootfolder/otherfolder/a/b/project/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json : { "rootNames": [ "/user/username/rootfolder/otherfolder/a/b/project/file1.ts", @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/otherfolder/a/b/proje "configFilePath": "/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "CustomHandler::projectLoadingStart", + "body": { + "project": "/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/rootfolder/otherfolder/a/b/project/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info 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 fb0d5e38a8f4b..a37a83fa43547 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 @@ -41,6 +41,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "isolatedModules": true, + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,15 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "isolatedModules": true, - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 0947b47688558..e71bf07df3465 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 @@ -42,16 +42,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::projectLoadingStart", - "body": { - "project": "/users/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { "rootNames": [ "/users/username/projects/project/file1Consumer1.ts" @@ -62,6 +52,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json "configFilePath": "/users/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "CustomHandler::projectLoadingStart", + "body": { + "project": "/users/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 18b0c244eb9b3..c65d1b8c08b27 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 b1488737f1a7c..1740679555753 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 8cd15d2ff5a05..d9e86e8b5610c 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 576435878e478..8b2d3cdeb4401 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 5ca535f61e85e..89a0c349a838c 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 @@ -41,6 +41,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,14 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/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/moduleFile1 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/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations 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 1155e8c0e994b..d6ef56fa6a8ba 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/referenceFile1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/referenceFile1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/referenceFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/referenceFile1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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-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 484a7f2b23455..05fe24e221bc7 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/referenceFile1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/referenceFile1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/referenceFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/referenceFile1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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-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 a29ec2c612542..c85425bb2d6c9 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 b77f30a669151..cc1f3aecfbb76 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 38279810df979..69159c1704a48 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 9f8a2d0dc8170..f9639cc259b10 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 @@ -41,6 +41,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/a.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/a.ts" + ], + "options": { + "outFile": "/a/out.js", + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,15 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/a.ts" - ], - "options": { - "outFile": "/a/out.js", - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 6e19a582defda..5fc8f167f20fe 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 c23827d398239..a3604191b9713 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/a.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/a.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/a.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 1cfd27f733dac..f98b9deb4a622 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 @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/project/file1.ts ProjectRootPath: undefined:: Result: /a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/b/project/tsconfig.json, currentDirectory: /a/b/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/tsconfig.json 2000 undefined Project: /a/b/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/a/b/project/tsconfig.json", - "reason": "Creating possible configured project for /a/b/project/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /a/b/project/tsconfig.json : { "rootNames": [ "/a/b/project/file1.ts", @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /a/b/project/tsconfig.json : { "configFilePath": "/a/b/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/a/b/project/tsconfig.json", + "reason": "Creating possible configured project for /a/b/project/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 undefined Config: /a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 undefined Config: /a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info 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 94920b48858ce..ca16a6e2f882b 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 @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/rootfolder/otherfolder/a/b/project/file1.ts ProjectRootPath: undefined:: Result: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json, currentDirectory: /user/username/rootfolder/otherfolder/a/b/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/rootfolder/otherfolder/a/b/project/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json : { "rootNames": [ "/user/username/rootfolder/otherfolder/a/b/project/file1.ts", @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/otherfolder/a/b/proje "configFilePath": "/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/rootfolder/otherfolder/a/b/project/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info 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 7dc08aec7d196..3ee141a749957 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 @@ -41,6 +41,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "isolatedModules": true, + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,15 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "isolatedModules": true, - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 a7b71a29fbf3f..891d9c6788a33 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 @@ -42,16 +42,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { "rootNames": [ "/users/username/projects/project/file1Consumer1.ts" @@ -62,6 +52,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json "configFilePath": "/users/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 8c86a77ac6b54..4bf39e8fcd670 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 1a66c17c66855..667a9b8265106 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 7f4e3489d3db3..81521f8080c4f 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 9f69e40c13a4d..940bc4e722c4c 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 85d4d192a86cb..ad108980fa971 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 @@ -41,6 +41,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,14 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/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/moduleFile1 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/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations 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 59ca983297860..c93993d8aa046 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/referenceFile1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/referenceFile1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/referenceFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/referenceFile1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json 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 f562f37f3a707..4cd358ac74a2e 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/referenceFile1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/referenceFile1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/referenceFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/referenceFile1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json 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 4af094d8d6a9d..571edde4495d4 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 9d94ed0a4b862..333c4f7027de3 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 f54c8af6674d1..7f11dca901d69 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 c81e243e14723..f6efe34c2dfcd 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 @@ -41,6 +41,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/a.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/a.ts" + ], + "options": { + "outFile": "/a/out.js", + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,15 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/a.ts" - ], - "options": { - "outFile": "/a/out.js", - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 9f9a1b5e4b088..b986825308324 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 c9c07b0bb88f1..fa659d5cdb275 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/a.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/a.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/a.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 5bebd48bf3e83..f1c90cc5f6220 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 @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/project/file1.ts ProjectRootPath: undefined:: Result: /a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/b/project/tsconfig.json, currentDirectory: /a/b/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/tsconfig.json 2000 undefined Project: /a/b/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/a/b/project/tsconfig.json", - "reason": "Creating possible configured project for /a/b/project/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /a/b/project/tsconfig.json : { "rootNames": [ "/a/b/project/file1.ts", @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /a/b/project/tsconfig.json : { "configFilePath": "/a/b/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/a/b/project/tsconfig.json", + "reason": "Creating possible configured project for /a/b/project/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 undefined Config: /a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 undefined Config: /a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info 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 043d449256742..01d2264fc83b5 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 @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/rootfolder/otherfolder/a/b/project/file1.ts ProjectRootPath: undefined:: Result: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json, currentDirectory: /user/username/rootfolder/otherfolder/a/b/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/rootfolder/otherfolder/a/b/project/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json : { "rootNames": [ "/user/username/rootfolder/otherfolder/a/b/project/file1.ts", @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/rootfolder/otherfolder/a/b/proje "configFilePath": "/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/rootfolder/otherfolder/a/b/project/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info 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 a0bf6470c6dbe..350e975d95dab 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 @@ -41,6 +41,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "isolatedModules": true, + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,15 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "isolatedModules": true, - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 b2a1cba1c7c55..a41c43fa4e65e 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 @@ -42,16 +42,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { "rootNames": [ "/users/username/projects/project/file1Consumer1.ts" @@ -62,6 +52,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json "configFilePath": "/users/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 79888d7e1cf15..6cbcd8c502267 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 6e6191965f4bb..c6eae4ab81c17 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 d01b8091471ec..9679452640e57 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 5724fc785f079..57a4f05d10ad4 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 59aace8bb587b..53bd7e3305887 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 @@ -41,6 +41,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,14 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/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/moduleFile1 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/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations 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 4ed3a7541763c..dfda1cc14556e 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/referenceFile1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/referenceFile1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/referenceFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/referenceFile1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json 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 6ca2ec77918f3..84fb528f82abe 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/referenceFile1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/referenceFile1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/referenceFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/referenceFile1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json 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 51e9096a9408c..d24caf1455529 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 11b21d4b6cb6f..6b1fa2204cf85 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1Consumer1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1Consumer1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1Consumer1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1Consumer1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 3bf24524c574d..bc9a85877fcde 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 b21e6f0ccfe61..06cd4c0252896 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 @@ -41,6 +41,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/a.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/a.ts" + ], + "options": { + "outFile": "/a/out.js", + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,15 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/a.ts" - ], - "options": { - "outFile": "/a/out.js", - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 966bb2d78bc73..5c3f7c5a4ead4 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 eaf74b2fd001a..e52801a6b0c67 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/a.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/a.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/a.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js index 4a0ef8106992b..8637859c76ffb 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js @@ -57,16 +57,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"c:/projects/myproject/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "c:/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for c:/projects/myproject/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: c:/projects/myproject/tsconfig.json : { "rootNames": [ "c:/projects/myproject/a.ts", @@ -77,6 +67,16 @@ Info seq [hh:mm:ss:mss] Config: c:/projects/myproject/tsconfig.json : { "configFilePath": "c:/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "c:/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for c:/projects/myproject/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject 1 undefined Config: c:/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js index 1a38132eaccbc..80fe1693bdf7f 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js @@ -57,16 +57,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/user/username/projects/myproject/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a.ts", @@ -77,6 +67,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { 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 c13dba5b6aeba..c41dd4941ceb9 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 @@ -85,16 +85,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts", @@ -106,6 +96,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/ambient.d.ts 500 undefined WatchType: Closed Script info 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 63b180047fd1a..51b2f861ad5b2 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 @@ -85,16 +85,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts", @@ -106,6 +96,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/ambient.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js index 3fd412c1bd617..6c249dda370f0 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js @@ -90,16 +90,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/app/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/app/tsconfig.json, currentDirectory: /home/src/projects/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/app/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/app/index.ts", @@ -123,6 +113,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/app/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/app/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 1 undefined Config: /home/src/projects/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 1 undefined Config: /home/src/projects/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/other.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js index 3c70afac95641..b850cec1d29ca 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js @@ -87,16 +87,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/app/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/app/tsconfig.json, currentDirectory: /home/src/projects/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/app/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/app/index.ts" @@ -119,6 +109,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/app/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/app/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 1 undefined Config: /home/src/projects/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 1 undefined Config: /home/src/projects/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/app/tsconfig.json 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 ba6f8b515ffee..6d44d8c9f1ef0 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 @@ -85,16 +85,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts", @@ -106,6 +96,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/ambient.d.ts 500 undefined WatchType: Closed Script info 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 cb1ef1c9ba820..c544a99b69700 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 @@ -50,6 +50,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/classes.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/classes.ts", + "/home/src/projects/project/utils.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -60,15 +69,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/classes.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/classes.ts", - "/home/src/projects/project/utils.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/utils.ts 500 undefined WatchType: Closed Script info 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 8148fbf239bb9..25ce6d69617ba 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 @@ -85,16 +85,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts", @@ -106,6 +96,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/ambient.d.ts 500 undefined WatchType: Closed Script info 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 f3e4aa77352ea..e943e7bb6b418 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 @@ -85,16 +85,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts", @@ -106,6 +96,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/ambient.d.ts 500 undefined WatchType: Closed Script info 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 5f19934ed629d..fed676a1cbbce 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 @@ -85,16 +85,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts", @@ -106,6 +96,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/ambient.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js index 618138d882f2d..f759ceaf1d24b 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js @@ -90,16 +90,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/app/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/app/tsconfig.json, currentDirectory: /home/src/projects/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/app/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/app/index.ts", @@ -123,6 +113,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/app/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/app/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 1 undefined Config: /home/src/projects/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 1 undefined Config: /home/src/projects/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/other.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js index 49a283d9cb9e1..0fd0835af2f83 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js @@ -87,16 +87,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/app/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/app/tsconfig.json, currentDirectory: /home/src/projects/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/app/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/app/index.ts" @@ -119,6 +109,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/app/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/app/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 1 undefined Config: /home/src/projects/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 1 undefined Config: /home/src/projects/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/extends/configDir-template.js b/tests/baselines/reference/tsserver/extends/configDir-template.js index 7d0f27e068ea6..0965ee45cdd26 100644 --- a/tests/baselines/reference/tsserver/extends/configDir-template.js +++ b/tests/baselines/reference/tsserver/extends/configDir-template.js @@ -127,16 +127,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/myproject/src/secondary.ts ProjectRootPath: undefined:: Result: /home/src/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/myproject/tsconfig.json, currentDirectory: /home/src/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/tsconfig.json 2000 {"excludeDirectories":["/home/src/projects/myproject/node_modules"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/myproject/src/secondary.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "rootNames": [ "/home/src/projects/myproject/main.ts", @@ -175,6 +165,16 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/myp Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/tsconfig.json 2000 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/configs/first/tsconfig.json 2000 {"excludeDirectories":["/home/src/Vscode/Projects/bin/node_modules"]} Config: /home/src/projects/myproject/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/configs/second/tsconfig.json 2000 {"excludeDirectories":["/home/src/Vscode/Projects/bin/node_modules"]} Config: /home/src/projects/myproject/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/myproject/src/secondary.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/main.ts 500 {"excludeDirectories":["/home/src/Vscode/Projects/bin/node_modules"]} WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tsserver/extends/resolves-the-symlink-path.js index 39f3b4ee4d56c..e6fd11ed8fe03 100644 --- a/tests/baselines/reference/tsserver/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsserver/extends/resolves-the-symlink-path.js @@ -58,16 +58,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/user/projects/myproject/src/index.ts ProjectRootPath: undefined:: Result: /users/user/projects/myproject/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/user/projects/myproject/src/tsconfig.json, currentDirectory: /users/user/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/tsconfig.json 2000 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/user/projects/myproject/src/tsconfig.json", - "reason": "Creating possible configured project for /users/user/projects/myproject/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/user/projects/myproject/src/tsconfig.json : { "rootNames": [ "/users/user/projects/myproject/src/index.ts" @@ -80,6 +70,16 @@ Info seq [hh:mm:ss:mss] Config: /users/user/projects/myproject/src/tsconfig.jso } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/myconfigs/node_modules/@something/tsconfig-node/tsconfig.json 2000 undefined Config: /users/user/projects/myproject/src/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/myconfigs/node_modules/@something/tsconfig-base/tsconfig.json 2000 undefined Config: /users/user/projects/myproject/src/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/user/projects/myproject/src/tsconfig.json", + "reason": "Creating possible configured project for /users/user/projects/myproject/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src 1 undefined Config: /users/user/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src 1 undefined Config: /users/user/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/myproject/src/tsconfig.json 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 062620a3b262d..2651f55a8b255 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 @@ -105,6 +105,12 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json +Info seq [hh:mm:ss:mss] Config: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json : { + "rootNames": [], + "options": { + "configFilePath": "/HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -115,12 +121,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating configured project in external project: /home/src/projects/project/a/b/project.csproj" } } -Info seq [hh:mm:ss:mss] Config: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json : { - "rootNames": [], - "options": { - "configFilePath": "/HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /HOME/SRC/PROJECTS/PROJECT/A/B/node_modules/@types 1 undefined Project: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /HOME/SRC/PROJECTS/PROJECT/A/B/node_modules/@types 1 undefined Project: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json WatchType: Type roots 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 1bc3523d77b23..26630bce0d281 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 @@ -53,16 +53,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/src/tsconfig.json, currentDirectory: /home/src/projects/project/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/tsconfig.json 2000 undefined Project: /home/src/projects/project/src/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/src/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/src/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/app.ts" @@ -78,6 +68,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/src/tsconfig.json : "configFilePath": "/home/src/projects/project/src/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/src/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/app.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/src/tsconfig.json 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 1c2e4d53f3f53..0d5282ddbef2c 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 @@ -515,6 +515,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/s Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts 0:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts 0:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts :: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Invoking sourceFileChange on /home/src/projects/project/a/b/lib.ts:: 1 Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts :: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Before request //// [/home/src/projects/project/a/b/lib.ts] 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 2b338fd9738bf..1674fdd6f1668 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 @@ -506,6 +506,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/s Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts 0:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts 0:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts :: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Invoking sourceFileChange on /home/src/projects/project/a/b/lib.ts:: 1 Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts :: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Before request //// [/home/src/projects/project/a/b/lib.ts] 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 ab316132f8fb8..7fd3a18f3b1f2 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 @@ -887,6 +887,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/c/f2.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/c/tsconfig.json, currentDirectory: /home/src/projects/project/a/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/c/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/c/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/c/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/c/f2.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/c/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -897,14 +905,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/c/f2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/c/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/c/f2.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/c/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/c/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/c/node_modules/@types 1 undefined Project: /home/src/projects/project/a/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/c/node_modules/@types 1 undefined Project: /home/src/projects/project/a/c/tsconfig.json WatchType: Type roots 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 76c18a25f3653..cd5c400aadc89 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 @@ -42,6 +42,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/f1.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/f1.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -52,14 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/f1.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json 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 b9ea63b77083d..df95e8792033d 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/f1.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/f1.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/f1.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json 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 ae20d6717ac48..4483efaac5297 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 @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/src/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/src/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/src/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/src/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/src 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/src 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/notexistingfolder 0 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory 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 1fb09078a5963..cd7211a0415cd 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 @@ -93,16 +93,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/babel-loader/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/babel-loader/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/babel-loader/tsconfig.json, currentDirectory: /home/src/projects/project/packages/babel-loader Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/babel-loader/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/babel-loader/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/babel-loader/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/babel-loader/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/babel-loader/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/babel-loader/src/index.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/babel-loade } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/babel-loader/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/babel-loader/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/babel-loader/src 1 undefined Config: /home/src/projects/project/packages/babel-loader/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/babel-loader/src 1 undefined Config: /home/src/projects/project/packages/babel-loader/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/babel-loader/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js index 90baba7ad101e..63764edbb293d 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js index a142ac6b0cf8d..91ecedc1222e5 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js index d4efda7bd94a5..948337ee368c5 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js index f386619e00b2b..97c23a7cfa406 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js index f7b0feef9884e..4de79b967aaaf 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js index 0212edbd48759..7f1e8feefe461 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js index c64c0eb874fb9..cc378981974b2 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js index 404f53cc2a05f..f646e928ed64b 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info 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 204014712f25e..3115391e97467 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/another.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/another.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/Logger.ts", @@ -65,6 +55,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/another.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/Logger.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js index de2877f7cc72e..a43a05d918f03 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js index 4512af44f1b92..d1e0bd064cc31 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js index ac564cfe16f76..ab3a5a7c85765 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js index 0ccf58e6d070c..5857aa29f4d2d 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 5fd1423f2bc2b..101e58d6b07f8 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -59,16 +59,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/struct.d.ts ProjectRootPath: /home/src/projects/project:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/struct.d.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/anotherFile.ts", @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/struct.d.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/anotherFile.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js index a2d9a43ed6632..302ede48acb06 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js index a938f33dbf39e..d05443a1b5e04 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js index aa6825bb4bf10..24997cae3c82f 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js index e79e03ea577f7..245cdc08251dd 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js index 0098bd3906168..f31039635bb30 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js index ac2b0c4998646..47193ffc4ca51 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js index fd708800d9cf0..74f2addb59635 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js index 901e95f580dc9..4dbc89378fe13 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js index 0a117bf71bdc8..4d5f64a25ce66 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js index 6822eae9b174c..732042b36fdef 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js index 51bd685fde0fc..b2eddacce547f 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js index 18d87a78d269a..cd38d659675e8 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js index 119cc9f384121..fcea43f42343a 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js index b7e1f848d6cb3..f86ae767a9ee0 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js index 76b78fa1472d6..34519038cba1a 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js index bad23ff078fed..5244a4d804bdf 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js index a00d3d6fe889d..3ada0f1324d33 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js index 664549ffad44d..89814007cd498 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js index eaa1eb0e732ab..180034dfb9ab8 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js index f38cb29503913..de11dce41065c 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js index a2914286f2b04..5d674cd2417f9 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js index df5386d0b9401..edbe677956ad3 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js index fc6a5967e5958..a4d5bde836f93 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js index a13c06d20ed79..f242146796937 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js @@ -54,16 +54,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/b.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js index 22a384f72446d..3f1417efe106c 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js index 630852b47999e..47aba39cd5df8 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js index 4328bae942a55..e33a536f9e8bd 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js index 8767cc4bf9a5b..6d3f1b4f620ac 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/XY.ts", @@ -73,6 +63,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info 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 440cff8ecaa60..07cb133c3ccc3 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 @@ -61,16 +61,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /Users/username/dev/project/index.ts ProjectRootPath: undefined:: Result: /Users/username/dev/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /Users/username/dev/project/tsconfig.json, currentDirectory: /Users/username/dev/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/username/dev/project/tsconfig.json 2000 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/Users/username/dev/project/tsconfig.json", - "reason": "Creating possible configured project for /Users/username/dev/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /Users/username/dev/project/tsconfig.json : { "rootNames": [ "/Users/username/dev/project/index.ts", @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /Users/username/dev/project/tsconfig.json : { } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/username/dev/project/tsconfig.all.json 2000 undefined Config: /Users/username/dev/project/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/Users/username/dev/project/tsconfig.json", + "reason": "Creating possible configured project for /Users/username/dev/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project 1 undefined Config: /Users/username/dev/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project 1 undefined Config: /Users/username/dev/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/username/dev/project/types/file2/index.d.ts 500 undefined WatchType: Closed Script info 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 2052e7eb5cd45..d64e43ab7b03d 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/Logger.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/Logger.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/Logger.ts", @@ -65,6 +55,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/Logger.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/another.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js index 0894ab32aaa7e..3a5fb4da1e300 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js @@ -199,16 +199,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/lib/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/app/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/lib/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/app/lib/index.ts" @@ -226,6 +216,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tscon "configFilePath": "/home/src/workspaces/project/packages/app/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/lib/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js index b6c7446eed0d7..d769a252a86fc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js @@ -59,16 +59,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/common/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/common/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/common/tsconfig.json, currentDirectory: /home/src/workspaces/project/common Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/common/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/common/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/common/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/common/src/MyModule.ts" @@ -82,77 +72,21 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/common/tsconfig.js } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/src 1 undefined Config: /home/src/workspaces/project/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/src 1 undefined Config: /home/src/workspaces/project/common/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/src/MyModule.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/common/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/common/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/common/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/common/src/MyModule.ts Text-1 "export function square(n: number) {\n return n * 2;\n}" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../tslibs/TS/Lib/lib.d.ts' - ../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../tslibs/TS/Lib/lib.d.ts' - src/MyModule.ts - Matched by include pattern 'src' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/common/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/common/tsconfig.json", - "configFile": "/home/src/workspaces/project/common/tsconfig.json", - "diagnostics": [] - } - } -<<<<<<< HEAD +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/common/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/common Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -======= -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /common/tsconfig.json ProjectRootPath: undefined:: Result: undefined ->>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -179,7 +113,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/common/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -210,8 +144,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/common/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/common/src/MyModule.ts: *new* - {"pollingInterval":500} /home/src/workspaces/project/common/tsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: *new* @@ -222,24 +154,18 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} - {} /home/src/workspaces/node_modules/@types: *new* {} - {} /home/src/workspaces/project/common/node_modules: *new* {} - {} /home/src/workspaces/project/common/node_modules/@types: *new* {} - {} /home/src/workspaces/project/common/src: *new* {} /home/src/workspaces/project/node_modules: *new* {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -248,29 +174,24 @@ Projects:: autoImportProviderHost: false /home/src/workspaces/project/common/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/common/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/common/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/common/tsconfig.json - /dev/null/inferredProject1* -/home/src/workspaces/project/common/src/MyModule.ts *new* version: Text-1 containingProjects: 1 - /home/src/workspaces/project/common/tsconfig.json + /dev/null/inferredProject1* /home/src/workspaces/project/common/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -288,16 +209,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/web/src/Helper.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/web/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/web/tsconfig.json, currentDirectory: /home/src/workspaces/project/web Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/web/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/web/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/web/src/Helper.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/web/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/web/src/Helper.ts", @@ -317,12 +228,23 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/web/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/web/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/web/src/Helper.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/src 1 undefined Config: /home/src/workspaces/project/web/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/src 1 undefined Config: /home/src/workspaces/project/web/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/src/MyApp.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/web/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common 1 undefined Project: /home/src/workspaces/project/web/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common 1 undefined Project: /home/src/workspaces/project/web/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/src/MyModule.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/node_modules 1 undefined Project: /home/src/workspaces/project/web/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/node_modules 1 undefined Project: /home/src/workspaces/project/web/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/web/tsconfig.json WatchType: Failed Lookup Locations @@ -381,7 +303,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/common/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/web/tsconfig.json' (Configured) @@ -418,7 +340,7 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/common/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/common/src/MyModule.ts: +/home/src/workspaces/project/common/src/MyModule.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/common/tsconfig.json: {"pollingInterval":2000} @@ -433,29 +355,23 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: - {} {} {} *new* /home/src/workspaces/node_modules/@types: - {} {} {} *new* /home/src/workspaces/project/common: *new* {} /home/src/workspaces/project/common/node_modules: {} - {} /home/src/workspaces/project/common/node_modules/@types: {} - {} /home/src/workspaces/project/common/src: {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: - {} {} {} *new* /home/src/workspaces/project/web/node_modules: *new* @@ -472,7 +388,9 @@ Projects:: autoImportProviderHost: false /home/src/workspaces/project/common/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: false *changed* /home/src/workspaces/project/web/tsconfig.json (Configured) *new* projectStateVersion: 1 @@ -482,27 +400,23 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* - /home/src/workspaces/project/common/tsconfig.json + containingProjects: 2 *changed* /dev/null/inferredProject1* /home/src/workspaces/project/web/tsconfig.json *new* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* - /home/src/workspaces/project/common/tsconfig.json + containingProjects: 2 *changed* /dev/null/inferredProject1* /home/src/workspaces/project/web/tsconfig.json *new* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* - /home/src/workspaces/project/common/tsconfig.json + containingProjects: 2 *changed* /dev/null/inferredProject1* /home/src/workspaces/project/web/tsconfig.json *new* -/home/src/workspaces/project/common/src/MyModule.ts *changed* +/home/src/workspaces/project/common/src/MyModule.ts *new* version: Text-1 - containingProjects: 2 *changed* - /home/src/workspaces/project/common/tsconfig.json - /home/src/workspaces/project/web/tsconfig.json *new* + containingProjects: 1 + /home/src/workspaces/project/web/tsconfig.json /home/src/workspaces/project/common/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -545,7 +459,9 @@ Projects:: autoImportProviderHost: undefined *changed* /home/src/workspaces/project/common/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/workspaces/project/web/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -701,7 +617,9 @@ Projects:: projectProgramVersion: 1 /home/src/workspaces/project/common/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/workspaces/project/web/tsconfig.json (Configured) *changed* 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 61a504b1682ee..f015ef13515bb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js @@ -169,16 +169,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/app/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/app/index.ts", @@ -204,6 +194,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tscon ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.base.json 2000 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/utils.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js index a30653ec6b5ef..c3a4f1761d644 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js @@ -66,16 +66,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/package.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/app/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/app/src/a.ts", @@ -105,6 +95,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tscon } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/src/a.ts 500 undefined WatchType: Closed Script info @@ -229,89 +229,13 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/dep/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/dep -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/packages/app/tsconfig.json to find possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts Text-1 "export const dep2 = 0;" - /home/src/workspaces/project/packages/dep/src/main.ts Text-1 "import \"./sub/folder\";\nexport const dep1 = 0;" - - - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - src/sub/folder/index.ts - Imported via "./sub/folder" from file 'src/main.ts' - Matched by default include pattern '**/*' - src/main.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/packages/app/package.json", - "configFile": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "diagnostics": [] - } - } -<<<<<<< HEAD +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -======= -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined ->>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -352,10 +276,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -414,19 +334,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} {} - {} /home/src/workspaces/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/node_modules: *new* {} {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/packages/app: *new* {} /home/src/workspaces/project/packages/app/node_modules: *new* @@ -438,20 +354,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: *new* {} {} -/home/src/workspaces/project/packages/dep/node_modules: *new* - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: *new* - {} -/home/src/workspaces/project/packages/dep/src: *new* - {} /home/src/workspaces/project/packages/node_modules: *new* {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: *new* {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -462,29 +370,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) *new* version: SVC-1-0 @@ -504,14 +405,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -527,10 +426,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -590,19 +485,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -614,20 +505,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: {} {} -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -638,29 +521,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -681,14 +557,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -838,9 +712,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 Info seq [hh:mm:ss:mss] request: { @@ -875,28 +746,22 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* autoImportProviderHost: false -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -916,14 +781,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -951,21 +814,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -985,14 +845,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -1022,10 +880,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -1088,19 +942,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -1112,20 +962,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: {} {} -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -1137,28 +979,22 @@ Projects:: projectProgramVersion: 1 dirty: false *changed* autoImportProviderHost: false -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1179,14 +1015,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -1359,28 +1193,22 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* autoImportProviderHost: false -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1400,14 +1228,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -1435,21 +1261,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1469,11 +1292,9 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/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 2698d8f274a58..4e4de259059a2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js @@ -66,16 +66,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/package.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/app/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/app/src/a.ts", @@ -105,6 +95,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tscon } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/src/a.ts 500 undefined WatchType: Closed Script info @@ -229,89 +229,13 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/dep/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/dep -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/packages/app/tsconfig.json to find possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts Text-1 "export const dep2 = 0;" - /home/src/workspaces/project/packages/dep/src/main.ts Text-1 "import \"./sub/folder\";\nexport const dep1 = 0;" - - - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - src/sub/folder/index.ts - Imported via "./sub/folder" from file 'src/main.ts' - Matched by default include pattern '**/*' - src/main.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/packages/app/package.json", - "configFile": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "diagnostics": [] - } - } -<<<<<<< HEAD +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -======= -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined ->>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -352,10 +276,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -414,19 +334,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} {} - {} /home/src/workspaces/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/node_modules: *new* {} {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/packages/app: *new* {} /home/src/workspaces/project/packages/app/node_modules: *new* @@ -438,20 +354,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: *new* {} {} -/home/src/workspaces/project/packages/dep/node_modules: *new* - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: *new* - {} -/home/src/workspaces/project/packages/dep/src: *new* - {} /home/src/workspaces/project/packages/node_modules: *new* {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: *new* {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -462,29 +370,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) *new* version: SVC-1-0 @@ -504,14 +405,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -527,10 +426,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -590,19 +485,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -614,20 +505,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: {} {} -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -638,29 +521,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -681,14 +557,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -838,9 +712,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 Info seq [hh:mm:ss:mss] request: { @@ -875,28 +746,22 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* autoImportProviderHost: false -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -916,14 +781,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -951,21 +814,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -985,14 +845,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -1022,10 +880,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -1088,19 +942,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -1112,20 +962,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: {} {} -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -1137,28 +979,22 @@ Projects:: projectProgramVersion: 1 dirty: false *changed* autoImportProviderHost: false -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1179,14 +1015,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -1359,28 +1193,22 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* autoImportProviderHost: false -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1400,14 +1228,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -1435,21 +1261,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1469,11 +1292,9 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/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 e57a2403f1e2a..82b3d6467c25d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js @@ -61,16 +61,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/common/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/common/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/common/tsconfig.json, currentDirectory: /home/src/workspaces/project/common Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/common/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/common/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/common/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/common/src/MyModule.ts" @@ -84,77 +74,21 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/common/tsconfig.js } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/src 1 undefined Config: /home/src/workspaces/project/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/src 1 undefined Config: /home/src/workspaces/project/common/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/src/MyModule.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/common/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/common/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/common/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/common/src/MyModule.ts Text-1 "export function square(n: number) {\n return n * 2;\n}" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../tslibs/TS/Lib/lib.d.ts' - ../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../tslibs/TS/Lib/lib.d.ts' - src/MyModule.ts - Matched by include pattern 'src' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/common/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/common/tsconfig.json", - "configFile": "/home/src/workspaces/project/common/tsconfig.json", - "diagnostics": [] - } - } -<<<<<<< HEAD +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/common/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/common Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -======= -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /common/tsconfig.json ProjectRootPath: undefined:: Result: undefined ->>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -181,7 +115,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/common/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -212,8 +146,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/common/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/common/src/MyModule.ts: *new* - {"pollingInterval":500} /home/src/workspaces/project/common/tsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: *new* @@ -224,24 +156,18 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} - {} /home/src/workspaces/node_modules/@types: *new* {} - {} /home/src/workspaces/project/common/node_modules: *new* {} - {} /home/src/workspaces/project/common/node_modules/@types: *new* {} - {} /home/src/workspaces/project/common/src: *new* {} /home/src/workspaces/project/node_modules: *new* {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -250,29 +176,24 @@ Projects:: autoImportProviderHost: false /home/src/workspaces/project/common/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/common/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/common/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/common/tsconfig.json - /dev/null/inferredProject1* -/home/src/workspaces/project/common/src/MyModule.ts *new* version: Text-1 containingProjects: 1 - /home/src/workspaces/project/common/tsconfig.json + /dev/null/inferredProject1* /home/src/workspaces/project/common/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -290,16 +211,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/web/src/Helper.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/web/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/web/tsconfig.json, currentDirectory: /home/src/workspaces/project/web Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/web/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/web/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/web/src/Helper.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/web/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/web/src/Helper.ts", @@ -324,10 +235,21 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/web/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/web/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/web/src/Helper.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/src 1 undefined Config: /home/src/workspaces/project/web/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/src 1 undefined Config: /home/src/workspaces/project/web/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/src/MyApp.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/web/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/common/src/MyModule.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/node_modules 1 undefined Project: /home/src/workspaces/project/web/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/web/node_modules 1 undefined Project: /home/src/workspaces/project/web/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/web/tsconfig.json WatchType: Failed Lookup Locations @@ -388,7 +310,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/common/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/web/tsconfig.json' (Configured) @@ -425,7 +347,7 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/common/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/common/src/MyModule.ts: +/home/src/workspaces/project/common/src/MyModule.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/common/tsconfig.json: {"pollingInterval":2000} @@ -440,29 +362,23 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: - {} {} {} *new* /home/src/workspaces/node_modules/@types: - {} {} {} *new* /home/src/workspaces/project/common: *new* {} /home/src/workspaces/project/common/node_modules: {} - {} /home/src/workspaces/project/common/node_modules/@types: {} - {} /home/src/workspaces/project/common/src: {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: - {} {} {} *new* /home/src/workspaces/project/web/node_modules: *new* @@ -479,7 +395,9 @@ Projects:: autoImportProviderHost: false /home/src/workspaces/project/common/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: false *changed* /home/src/workspaces/project/web/tsconfig.json (Configured) *new* projectStateVersion: 1 @@ -489,27 +407,23 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* - /home/src/workspaces/project/common/tsconfig.json + containingProjects: 2 *changed* /dev/null/inferredProject1* /home/src/workspaces/project/web/tsconfig.json *new* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* - /home/src/workspaces/project/common/tsconfig.json + containingProjects: 2 *changed* /dev/null/inferredProject1* /home/src/workspaces/project/web/tsconfig.json *new* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* - /home/src/workspaces/project/common/tsconfig.json + containingProjects: 2 *changed* /dev/null/inferredProject1* /home/src/workspaces/project/web/tsconfig.json *new* -/home/src/workspaces/project/common/src/MyModule.ts *changed* +/home/src/workspaces/project/common/src/MyModule.ts *new* version: Text-1 - containingProjects: 2 *changed* - /home/src/workspaces/project/common/tsconfig.json - /home/src/workspaces/project/web/tsconfig.json *new* + containingProjects: 1 + /home/src/workspaces/project/web/tsconfig.json /home/src/workspaces/project/common/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -552,7 +466,9 @@ Projects:: autoImportProviderHost: undefined *changed* /home/src/workspaces/project/common/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/workspaces/project/web/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -708,7 +624,9 @@ Projects:: projectProgramVersion: 1 /home/src/workspaces/project/common/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/workspaces/project/web/tsconfig.json (Configured) *changed* 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 9a10b4b16c709..9980fa1ccd535 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js @@ -66,16 +66,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/package.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/app/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/app/src/a.ts", @@ -105,6 +95,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tscon } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/src/a.ts 500 undefined WatchType: Closed Script info @@ -229,89 +229,13 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/dep/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/dep -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/packages/app/tsconfig.json to find possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts Text-1 "export const dep2 = 0;" - /home/src/workspaces/project/packages/dep/src/main.ts Text-1 "import \"./sub/folder\";\nexport const dep1 = 0;" - - - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - src/sub/folder/index.ts - Imported via "./sub/folder" from file 'src/main.ts' - Matched by default include pattern '**/*' - src/main.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/packages/app/package.json", - "configFile": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "diagnostics": [] - } - } -<<<<<<< HEAD +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -======= -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined ->>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -352,10 +276,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -414,19 +334,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} {} - {} /home/src/workspaces/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/node_modules: *new* {} {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/packages/app: *new* {} /home/src/workspaces/project/packages/app/node_modules: *new* @@ -438,20 +354,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: *new* {} {} -/home/src/workspaces/project/packages/dep/node_modules: *new* - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: *new* - {} -/home/src/workspaces/project/packages/dep/src: *new* - {} /home/src/workspaces/project/packages/node_modules: *new* {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: *new* {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -462,29 +370,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) *new* version: SVC-1-0 @@ -504,14 +405,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -527,10 +426,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -590,19 +485,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -614,20 +505,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: {} {} -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -638,29 +521,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -681,14 +557,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -838,9 +712,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 Info seq [hh:mm:ss:mss] request: { @@ -875,28 +746,22 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* autoImportProviderHost: false -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -916,14 +781,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -951,21 +814,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -985,14 +845,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -1022,10 +880,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -1088,19 +942,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -1112,20 +962,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: {} {} -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -1137,28 +979,22 @@ Projects:: projectProgramVersion: 1 dirty: false *changed* autoImportProviderHost: false -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1179,14 +1015,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -1359,28 +1193,22 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* autoImportProviderHost: false -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1400,14 +1228,12 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -1435,21 +1261,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1469,11 +1292,9 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/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 fb54ce0814c17..b2f68bd4c0f4c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js @@ -59,16 +59,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/package.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/app/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/app/src/index.ts" @@ -93,6 +83,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tscon } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/src/index.ts 500 undefined WatchType: Closed Script info @@ -199,91 +199,13 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/dep/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/dep -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/packages/app/tsconfig.json to find possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts Text-1 "export const dep = 0;" - /home/src/workspaces/project/packages/dep/src/index.ts Text-1 "import \"./sub/folder\";" - - - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - src/sub/folder/index.ts - Imported via "./sub/folder" from file 'src/index.ts' - Matched by default include pattern '**/*' - src/index.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/packages/app/package.json", - "configFile": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "diagnostics": [] - } - } -<<<<<<< HEAD +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -======= -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined ->>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -324,10 +246,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -365,10 +283,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/packages/app/tsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/packages/dep/src/index.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: *new* - {"pollingInterval":500} /home/src/workspaces/project/packages/dep/tsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/packages/jsconfig.json: *new* @@ -382,19 +296,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} {} - {} /home/src/workspaces/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/node_modules: *new* {} {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/packages/app: *new* {} /home/src/workspaces/project/packages/app/node_modules: *new* @@ -405,20 +315,12 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/packages/dep: *new* {} -/home/src/workspaces/project/packages/dep/node_modules: *new* - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: *new* - {} -/home/src/workspaces/project/packages/dep/src: *new* - {} /home/src/workspaces/project/packages/node_modules: *new* {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: *new* {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -429,29 +331,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) *new* version: SVC-1-0 @@ -461,14 +356,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json -/home/src/workspaces/project/packages/dep/src/index.ts *new* - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *new* - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -484,10 +371,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -522,10 +405,6 @@ watchedFiles:: {"pollingInterval":250} /home/src/workspaces/project/packages/app/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/dep/src/index.ts: - {"pollingInterval":500} -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: - {"pollingInterval":500} /home/src/workspaces/project/packages/dep/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/packages/jsconfig.json: @@ -543,19 +422,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -566,20 +441,12 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/packages/dep: {} -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -590,29 +457,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -623,14 +483,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json *default* -/home/src/workspaces/project/packages/dep/src/index.ts - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -741,8 +593,10 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts 500 undefined WatchType: Closed Script info 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) @@ -811,9 +665,9 @@ watchedFiles:: {"pollingInterval":250} /home/src/workspaces/project/packages/app/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/dep/src/index.ts: +/home/src/workspaces/project/packages/dep/src/index.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: +/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/packages/dep/tsconfig.json: {"pollingInterval":2000} @@ -828,19 +682,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -853,20 +703,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: {} {} *new* -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *new* @@ -880,28 +722,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -911,16 +747,14 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json *default* -/home/src/workspaces/project/packages/dep/src/index.ts *changed* +/home/src/workspaces/project/packages/dep/src/index.ts *new* version: Text-1 - containingProjects: 2 *changed* - /home/src/workspaces/project/packages/dep/tsconfig.json - /dev/null/autoImportProviderProject1* *new* -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *changed* + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *new* version: Text-1 - containingProjects: 2 *changed* - /home/src/workspaces/project/packages/dep/tsconfig.json - /dev/null/autoImportProviderProject1* *new* + containingProjects: 1 + /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] request: { @@ -958,28 +792,22 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -991,13 +819,11 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] request: @@ -1026,21 +852,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1052,11 +875,9 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /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 56495a876b176..f789a357bf3ff 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js @@ -59,16 +59,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/package.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/app/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/app/src/index.ts" @@ -93,6 +83,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tscon } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/src/index.ts 500 undefined WatchType: Closed Script info @@ -199,91 +199,13 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/dep/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/dep -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/packages/app/tsconfig.json to find possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts Text-1 "export const dep = 0;" - /home/src/workspaces/project/packages/dep/src/index.ts Text-1 "import \"./sub/folder\";" - - - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - src/sub/folder/index.ts - Imported via "./sub/folder" from file 'src/index.ts' - Matched by default include pattern '**/*' - src/index.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/packages/app/package.json", - "configFile": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "diagnostics": [] - } - } -<<<<<<< HEAD +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -======= -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined ->>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -324,10 +246,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -365,10 +283,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/packages/app/tsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/packages/dep/src/index.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: *new* - {"pollingInterval":500} /home/src/workspaces/project/packages/dep/tsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/packages/jsconfig.json: *new* @@ -382,19 +296,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} {} - {} /home/src/workspaces/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/node_modules: *new* {} {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/packages/app: *new* {} /home/src/workspaces/project/packages/app/node_modules: *new* @@ -405,20 +315,12 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/packages/dep: *new* {} -/home/src/workspaces/project/packages/dep/node_modules: *new* - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: *new* - {} -/home/src/workspaces/project/packages/dep/src: *new* - {} /home/src/workspaces/project/packages/node_modules: *new* {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: *new* {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -429,29 +331,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) *new* version: SVC-1-0 @@ -461,14 +356,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json -/home/src/workspaces/project/packages/dep/src/index.ts *new* - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *new* - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -484,10 +371,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -522,10 +405,6 @@ watchedFiles:: {"pollingInterval":250} /home/src/workspaces/project/packages/app/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/dep/src/index.ts: - {"pollingInterval":500} -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: - {"pollingInterval":500} /home/src/workspaces/project/packages/dep/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/packages/jsconfig.json: @@ -543,19 +422,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -566,20 +441,12 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/packages/dep: {} -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -590,29 +457,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -623,14 +483,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json *default* -/home/src/workspaces/project/packages/dep/src/index.ts - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -741,8 +593,10 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts 500 undefined WatchType: Closed Script info 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) @@ -811,9 +665,9 @@ watchedFiles:: {"pollingInterval":250} /home/src/workspaces/project/packages/app/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/dep/src/index.ts: +/home/src/workspaces/project/packages/dep/src/index.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: +/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/packages/dep/tsconfig.json: {"pollingInterval":2000} @@ -828,19 +682,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -853,20 +703,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: {} {} *new* -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *new* @@ -880,28 +722,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -911,16 +747,14 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json *default* -/home/src/workspaces/project/packages/dep/src/index.ts *changed* +/home/src/workspaces/project/packages/dep/src/index.ts *new* version: Text-1 - containingProjects: 2 *changed* - /home/src/workspaces/project/packages/dep/tsconfig.json - /dev/null/autoImportProviderProject1* *new* -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *changed* + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *new* version: Text-1 - containingProjects: 2 *changed* - /home/src/workspaces/project/packages/dep/tsconfig.json - /dev/null/autoImportProviderProject1* *new* + containingProjects: 1 + /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] request: { @@ -958,28 +792,22 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -991,13 +819,11 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] request: @@ -1026,21 +852,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1052,11 +875,9 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /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 daf4de3c53499..1136134965c19 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js @@ -56,16 +56,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/package.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/app/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/app/src/index.ts" @@ -84,6 +74,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/app/tscon } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/app/package.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app 1 undefined Config: /home/src/workspaces/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/src/index.ts 500 undefined WatchType: Closed Script info @@ -190,91 +190,13 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/dep/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/dep -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/packages/app/tsconfig.json to find possible configured project for /home/src/workspaces/project/packages/app/package.json to open" - } - } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/dep/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts Text-1 "export const dep = 0;" - /home/src/workspaces/project/packages/dep/src/index.ts Text-1 "import \"./sub/folder\";" - - - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - src/sub/folder/index.ts - Imported via "./sub/folder" from file 'src/index.ts' - Matched by default include pattern '**/*' - src/index.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/packages/dep/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/packages/app/package.json", - "configFile": "/home/src/workspaces/project/packages/dep/tsconfig.json", - "diagnostics": [] - } - } -<<<<<<< HEAD +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -======= -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined ->>>>>>> 9d2252328a5 (Revert "Revert of Search ancestor and its references for default projects #57196 (#59634)") Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -315,10 +237,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -356,10 +274,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/packages/app/tsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/packages/dep/src/index.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: *new* - {"pollingInterval":500} /home/src/workspaces/project/packages/dep/tsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/packages/jsconfig.json: *new* @@ -373,19 +287,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} {} - {} /home/src/workspaces/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/node_modules: *new* {} {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/packages/app: *new* {} /home/src/workspaces/project/packages/app/node_modules: *new* @@ -396,20 +306,12 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/packages/dep: *new* {} -/home/src/workspaces/project/packages/dep/node_modules: *new* - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: *new* - {} -/home/src/workspaces/project/packages/dep/src: *new* - {} /home/src/workspaces/project/packages/node_modules: *new* {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: *new* {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -420,29 +322,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) *new* version: SVC-1-0 @@ -452,14 +347,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json -/home/src/workspaces/project/packages/dep/src/index.ts *new* - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *new* - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -475,10 +362,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/dep/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -513,10 +396,6 @@ watchedFiles:: {"pollingInterval":250} /home/src/workspaces/project/packages/app/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/dep/src/index.ts: - {"pollingInterval":500} -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: - {"pollingInterval":500} /home/src/workspaces/project/packages/dep/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/packages/jsconfig.json: @@ -534,19 +413,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -557,20 +432,12 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/packages/dep: {} -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -581,29 +448,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -614,14 +474,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json *default* -/home/src/workspaces/project/packages/dep/src/index.ts - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -732,8 +584,10 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project/packages/app Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts 500 undefined WatchType: Closed Script info 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) @@ -802,9 +656,9 @@ watchedFiles:: {"pollingInterval":250} /home/src/workspaces/project/packages/app/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/dep/src/index.ts: +/home/src/workspaces/project/packages/dep/src/index.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: +/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/packages/dep/tsconfig.json: {"pollingInterval":2000} @@ -819,19 +673,15 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/node_modules: {} {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} /home/src/workspaces/project/packages/app: {} /home/src/workspaces/project/packages/app/node_modules: @@ -844,20 +694,12 @@ watchedDirectoriesRecursive:: /home/src/workspaces/project/packages/dep: {} {} *new* -/home/src/workspaces/project/packages/dep/node_modules: - {} -/home/src/workspaces/project/packages/dep/node_modules/@types: - {} -/home/src/workspaces/project/packages/dep/src: - {} /home/src/workspaces/project/packages/node_modules: {} {} - {} /home/src/workspaces/project/packages/node_modules/@types: {} {} - {} Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *new* @@ -871,28 +713,22 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -902,16 +738,14 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/app/tsconfig.json *default* -/home/src/workspaces/project/packages/dep/src/index.ts *changed* +/home/src/workspaces/project/packages/dep/src/index.ts *new* version: Text-1 - containingProjects: 2 *changed* - /home/src/workspaces/project/packages/dep/tsconfig.json - /dev/null/autoImportProviderProject1* *new* -/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *changed* + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/packages/dep/src/sub/folder/index.ts *new* version: Text-1 - containingProjects: 2 *changed* - /home/src/workspaces/project/packages/dep/tsconfig.json - /dev/null/autoImportProviderProject1* *new* + containingProjects: 1 + /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] request: { @@ -949,28 +783,22 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* -/home/src/workspaces/project/packages/dep/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -982,13 +810,11 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] request: @@ -1017,21 +843,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/workspaces/project/packages/app/tsconfig.json - /home/src/workspaces/project/packages/dep/tsconfig.json /dev/null/inferredProject1* /home/src/workspaces/project/packages/app/package.json (Open) version: SVC-1-0 @@ -1043,11 +866,9 @@ ScriptInfos:: /home/src/workspaces/project/packages/app/tsconfig.json *default* /home/src/workspaces/project/packages/dep/src/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* /home/src/workspaces/project/packages/dep/src/sub/folder/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/packages/dep/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js index ad77946d04578..587c36b3e0fc8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js @@ -194,16 +194,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/solution/packages/web/src/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/solution/packages/web/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/solution/packages/web/tsconfig.json, currentDirectory: /home/src/workspaces/solution/packages/web Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/packages/web/tsconfig.json 2000 undefined Project: /home/src/workspaces/solution/packages/web/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/solution/packages/web/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/solution/packages/web/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/solution/packages/web/tsconfig.json : { "rootNames": [ "/home/src/workspaces/solution/packages/web/src/index.ts" @@ -224,6 +214,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/solution/packages/web/tsco } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/solution/packages/web/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/solution/packages/web/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/packages/web/src 1 undefined Config: /home/src/workspaces/solution/packages/web/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/packages/web/src 1 undefined Config: /home/src/workspaces/solution/packages/web/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/solution/packages/web/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js index 4c0379387de24..1b59029277918 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js @@ -175,6 +175,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -185,14 +193,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js index 72ffc5b27847f..9e7e47cea8de8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js @@ -172,6 +172,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -182,14 +190,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js index 73996ee476eb4..83a2b12427af0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js @@ -177,16 +177,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/a/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/a/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/a/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/packages/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/a/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/a/index.ts" @@ -197,6 +187,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/a/tsconfi "configFilePath": "/home/src/workspaces/project/packages/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/a/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/a 1 undefined Config: /home/src/workspaces/project/packages/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/a 1 undefined Config: /home/src/workspaces/project/packages/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js index f46db69af7f57..16d9e7d90b70f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js @@ -43,16 +43,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/package.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/a/tsconfig.json, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/a/package.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/a/index.ts" @@ -69,6 +59,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/a/package.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a 1 undefined Config: /home/src/workspaces/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a 1 undefined Config: /home/src/workspaces/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/index.ts 500 undefined WatchType: Closed Script info @@ -187,85 +187,21 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/b/tsconfig.json, currentDirectory: /home/src/workspaces/project/b -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/b/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/a/tsconfig.json to find possible configured project for /home/src/workspaces/project/a/package.json to open" - } - } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/node_modules 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/node_modules 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/node_modules/@types 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/node_modules/@types 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/b/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/b/index.ts Text-1 "export class Shape {}" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../tslibs/TS/Lib/lib.d.ts' - ../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../tslibs/TS/Lib/lib.d.ts' - index.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/b/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/a/package.json", - "configFile": "/home/src/workspaces/project/b/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -294,6 +230,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project/a +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/index.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* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) @@ -308,10 +245,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/b/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 (4) @@ -366,11 +299,9 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} - {} /home/src/workspaces/node_modules/@types: *new* {} {} - {} /home/src/workspaces/project/a: *new* {} /home/src/workspaces/project/a/node_modules: *new* @@ -380,17 +311,11 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/b: *new* {} -/home/src/workspaces/project/b/node_modules: *new* - {} -/home/src/workspaces/project/b/node_modules/@types: *new* - {} /home/src/workspaces/project/node_modules: *new* {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} - {} Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *new* @@ -404,26 +329,19 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/home/src/workspaces/project/b/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/workspaces/project/a/index.ts *new* version: Text-1 @@ -435,8 +353,7 @@ ScriptInfos:: /dev/null/inferredProject1* *default* /home/src/workspaces/project/b/index.ts *new* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] request: @@ -453,10 +370,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/b/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 (4) @@ -511,11 +424,9 @@ watchedFiles *deleted*:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/a: {} /home/src/workspaces/project/a/node_modules: @@ -525,17 +436,11 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/b: {} -/home/src/workspaces/project/b/node_modules: - {} -/home/src/workspaces/project/b/node_modules/@types: - {} /home/src/workspaces/project/node_modules: {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) @@ -549,26 +454,19 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* -/home/src/workspaces/project/b/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/workspaces/project/a/index.ts (Open) *changed* open: true *changed* @@ -581,8 +479,7 @@ ScriptInfos:: /dev/null/inferredProject1* *default* /home/src/workspaces/project/b/index.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] request: @@ -771,11 +668,9 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} - {} /home/src/workspaces/node_modules/@types: {} {} - {} /home/src/workspaces/project/a: {} /home/src/workspaces/project/a/node_modules: @@ -786,17 +681,11 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/b: {} -/home/src/workspaces/project/b/node_modules: - {} -/home/src/workspaces/project/b/node_modules/@types: - {} /home/src/workspaces/project/node_modules: {} - {} /home/src/workspaces/project/node_modules/@types: {} {} - {} Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) @@ -813,25 +702,19 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* -/home/src/workspaces/project/b/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/workspaces/project/a/index.ts (Open) version: Text-1 @@ -843,8 +726,7 @@ ScriptInfos:: /dev/null/inferredProject1* *default* /home/src/workspaces/project/b/index.ts *changed* version: Text-1 - containingProjects: 3 *changed* - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* /dev/null/autoImportProviderProject2* *new* @@ -887,25 +769,19 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject2* -/home/src/workspaces/project/b/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/workspaces/project/a/index.ts (Open) *changed* version: SVC-2-1 *changed* @@ -917,8 +793,7 @@ ScriptInfos:: /dev/null/inferredProject1* *default* /home/src/workspaces/project/b/index.ts version: Text-1 - containingProjects: 3 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 2 /dev/null/autoImportProviderProject1* /dev/null/autoImportProviderProject2* @@ -948,18 +823,15 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 1 /dev/null/inferredProject1* /home/src/workspaces/project/a/index.ts (Open) *changed* version: SVC-2-2 *changed* @@ -971,7 +843,6 @@ ScriptInfos:: /dev/null/inferredProject1* *default* /home/src/workspaces/project/b/index.ts version: Text-1 - containingProjects: 3 - /home/src/workspaces/project/b/tsconfig.json + containingProjects: 2 /dev/null/autoImportProviderProject1* /dev/null/autoImportProviderProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index f681076873d55..bf1c209271b5f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -138,16 +138,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts" @@ -160,6 +150,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js index d026f46e1d045..346cdee8eb025 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/mylib/index.ts", @@ -75,6 +65,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/mylib/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js index b6c11384efff4..2df67634f1125 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/mylib/index.ts", @@ -75,6 +65,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/mylib/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js index c14aa0b24dcec..7d01d3abc8859 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js @@ -63,6 +63,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/src/foo.ts" + ], + "options": { + "module": 199, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -73,15 +82,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/src/foo.ts" - ], - "options": { - "module": 199, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/foo.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js index 4ea66502fcd57..a3c5703217712 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -64,6 +64,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/src/foo.ts" + ], + "options": { + "module": 1, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -74,15 +83,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/src/foo.ts" - ], - "options": { - "module": 1, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/foo.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js index 3a75978fdef72..1452af168a84f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -56,6 +56,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/src/foo.ts" + ], + "options": { + "module": 199, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -66,15 +75,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/src/foo.ts" - ], - "options": { - "module": 199, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/foo.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js index 3c21842393dbb..816c1e6c7a3b4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js @@ -59,6 +59,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/src/foo.ts" + ], + "options": { + "module": 199, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -69,15 +78,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/src/foo.ts" - ], - "options": { - "module": 199, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/foo.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js index d871ae8bb0873..0cdf074a978d8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -76,6 +76,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/src/foo.ts" + ], + "options": { + "module": 199, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -86,15 +95,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/src/foo.ts" - ], - "options": { - "module": 199, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/foo.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js index 8f50e67bc1efb..b3ac3d285b834 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -85,6 +85,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/src/foo.ts" + ], + "options": { + "module": 199, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -95,15 +104,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/src/foo.ts" - ], - "options": { - "module": 199, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/foo.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js index 1703c78d66b92..98425f481cf03 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js @@ -66,16 +66,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/src/bar.ts", @@ -86,6 +76,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/bar.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js index a0cb52cf1e1ca..e7f743f253055 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js @@ -67,16 +67,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/src/bar.ts", @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/bar.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js index b2942a846aa3c..6ae4f6c1237e9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js @@ -61,16 +61,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/src/bar.ts", @@ -81,6 +71,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/bar.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js index bc6cab6090e7b..4769f9c67bad5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js @@ -195,16 +195,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.js ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/index.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.js" @@ -217,6 +207,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/index.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js index 7ec7a3c5ca672..2d5faff7623a1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js @@ -53,16 +53,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/src/a.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js index c13f53a0a646e..032203ca84370 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js @@ -47,16 +47,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/src/a.ts", @@ -69,6 +59,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js index bd9068697ef48..c47ca4cd4b5d9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js @@ -47,16 +47,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/src/a.ts", @@ -69,6 +59,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js index ae2a83946cc5d..dc1c5c7c0eac5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js @@ -50,16 +50,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/src/a.ts", @@ -72,6 +62,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js index aba05011b1cdd..0702c20a42d4c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js @@ -51,16 +51,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/src/a.ts", @@ -74,6 +64,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js index 5fa9b66ccb854..5a4e9f3db3c0d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js @@ -169,6 +169,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -179,15 +188,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js index 5b702f4b27760..9e80c56eaa245 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js index 6fdddf89223e8..0134abe4efb7c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js @@ -61,6 +61,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/package.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/a/tsconfig.json, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -71,14 +79,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/a/package.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a/index.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a 1 undefined Config: /home/src/workspaces/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a 1 undefined Config: /home/src/workspaces/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/index.ts 500 undefined WatchType: Closed Script info @@ -287,16 +287,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/c/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/c/tsconfig.json, currentDirectory: /home/src/workspaces/project/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/c/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/c/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/c/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/c/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/c/index.ts" @@ -311,6 +301,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/c/tsconfig.json : } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/c/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/c/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/c 1 undefined Config: /home/src/workspaces/project/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/c 1 undefined Config: /home/src/workspaces/project/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/c/tsconfig.json @@ -560,16 +560,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/b/tsconfig.json, currentDirectory: /home/src/workspaces/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/b/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/b/b.ts" @@ -585,6 +575,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/b/tsconfig.json : } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b 1 undefined Config: /home/src/workspaces/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b 1 undefined Config: /home/src/workspaces/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js index 5acc582abcdfc..2ae58d0fc95b3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js @@ -200,6 +200,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/main.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/main.ts" + ], + "options": { + "module": 199, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -210,15 +219,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/main.ts" - ], - "options": { - "module": 199, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js index 5a17369214857..46f54be3a0075 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js @@ -183,6 +183,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/main.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/main.ts" + ], + "options": { + "module": 199, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -193,15 +202,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/main.ts" - ], - "options": { - "module": 199, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js index 2ef6aa4f10243..3265dcacce2b0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js @@ -200,16 +200,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/apps/web/app/index.tsx ProjectRootPath: undefined:: Result: /home/src/workspaces/project/apps/web/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/apps/web/tsconfig.json, currentDirectory: /home/src/workspaces/project/apps/web Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/apps/web/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/apps/web/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/apps/web/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/apps/web/app/index.tsx to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/apps/web/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/apps/web/app/index.tsx" @@ -222,6 +212,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/apps/web/tsconfig. "configFilePath": "/home/src/workspaces/project/apps/web/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/apps/web/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/apps/web/app/index.tsx to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/apps/web/app 1 undefined Config: /home/src/workspaces/project/apps/web/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/apps/web/app 1 undefined Config: /home/src/workspaces/project/apps/web/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/apps/web/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index b8c6800dd4662..f05d45a003e3e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -42,6 +42,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -52,15 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js index 7529335209a78..96b9acbd9cd72 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js @@ -46,16 +46,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/script.ts", @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/script.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js index ecfc9459a1d3e..de9391af4a93e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -49,16 +49,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/mylib/index.ts", @@ -72,6 +62,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/mylib/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js index c691e101c4566..784a68dfeddab 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -54,6 +54,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -64,15 +73,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js index 6b25c070f305d..55b0d5d3cfd06 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js @@ -25,16 +25,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts", @@ -45,6 +35,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js index edbfc9381d8f1..f56d9fd156ab7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -47,16 +47,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js index 8ae9345baecf6..7d3ab1d2dbbb6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js @@ -55,6 +55,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -65,15 +74,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js index 200ecdb0a4e26..87f71662a96db 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js @@ -41,16 +41,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tests/cases/fourslash/server/tsconfig.json", - "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "rootNames": [ "/tests/cases/fourslash/server/main.ts", @@ -61,6 +51,16 @@ Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tests/cases/fourslash/server/tsconfig.json", + "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server 1 undefined Config: /tests/cases/fourslash/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server 1 undefined Config: /tests/cases/fourslash/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/main.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js index 2e0fbda9cbef1..0a4c2be9cd28c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js @@ -47,16 +47,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/classes.ts", @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/classes.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js index e1a9643c90f2f..e6aef1ab99e50 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js +++ b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js @@ -39,16 +39,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tests/cases/fourslash/server/tsconfig.json", - "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "rootNames": [ "/tests/cases/fourslash/server/a.ts" @@ -63,6 +53,16 @@ Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tests/cases/fourslash/server/tsconfig.json", + "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] Enabling plugin configurable-diagnostic-adder from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. Info seq [hh:mm:ss:mss] Loading configurable-diagnostic-adder from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Plugin validation succeeded diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js index 8d920a7db3682..2e74634752723 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js @@ -96,16 +96,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts" @@ -119,6 +109,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js index 1209c0973a3c0..8c4df75e433fc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js @@ -97,16 +97,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts" @@ -121,6 +111,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js index 0f0a0ca4ea11d..e18b93458d3a1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js @@ -95,16 +95,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts" @@ -117,6 +107,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js index 28e5f1021f5a2..702e25155ee76 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js @@ -100,16 +100,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts" @@ -124,6 +114,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js index fc1b45f468d7e..f25d0dd6d4728 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js @@ -96,16 +96,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts" @@ -119,6 +109,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js index 2098832dec05e..5d332bc53c62e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js @@ -207,16 +207,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/buttonClass/Source.ts ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/buttonClass/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/buttonClass/tsconfig.json, currentDirectory: /tests/cases/fourslash/server/buttonClass Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/buttonClass/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/buttonClass/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tests/cases/fourslash/server/buttonClass/tsconfig.json", - "reason": "Creating possible configured project for /tests/cases/fourslash/server/buttonClass/Source.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/buttonClass/tsconfig.json : { "rootNames": [ "/tests/cases/fourslash/server/buttonClass/Source.ts", @@ -231,6 +221,16 @@ Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/buttonClass/tscon } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsbase.json 2000 undefined Config: /tests/cases/fourslash/server/buttonClass/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tests/cases/fourslash/server/buttonClass/tsconfig.json", + "reason": "Creating possible configured project for /tests/cases/fourslash/server/buttonClass/Source.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/BaseClass/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/BaseClass/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js index 7385321a16839..0fa2e6f0d37b1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js @@ -42,16 +42,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [], "options": { @@ -68,7 +58,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { } ] } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.build.json : { "rootNames": [ "/home/src/workspaces/project/index.ts" @@ -94,35 +83,129 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.test.json } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.test.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"files\": [], \"references\": [{ \"path\": \"tsconfig.build.json\" }, { \"path\": \"tsconfig.test.json\" }] }" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + tsconfig.json + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: +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: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] response: { "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json" + "type": "response", + "command": "open", + "request_seq": 0, + "success": true, + "performanceData": { + "updateGraphDurationMs": * } } -Info seq [hh:mm:ss:mss] event: +After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: *new* + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.build.json: *new* + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.json: *new* + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.test.json: *new* + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules: *new* + {} +/home/src/workspaces/node_modules/@types: *new* + {} +/home/src/workspaces/project/node_modules: *new* + {} +/home/src/workspaces/project/node_modules/@types: *new* + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true + noOpenRef: true + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/home/src/workspaces/project/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +Info seq [hh:mm:ss:mss] request: { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/tsconfig.json", - "configFile": "/home/src/workspaces/project/tsconfig.json", - "diagnostics": [] - } + "seq": 1, + "type": "request", + "arguments": { + "file": "/home/src/workspaces/project/index.ts" + }, + "command": "open" } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.build.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] event: { @@ -131,19 +214,15 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/home/src/workspaces/project/tsconfig.build.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/tsconfig.json to open" + "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.build.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/util.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots @@ -155,7 +234,7 @@ Info seq [hh:mm:ss:mss] Files (5) /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/util.ts Text-1 "export {}" - /home/src/workspaces/project/index.ts Text-1 "export * from \"./util\";" + /home/src/workspaces/project/index.ts SVC-1-0 "export * from \"./util\";" ../../tslibs/TS/Lib/lib.d.ts @@ -185,7 +264,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/tsconfig.json", + "triggerFile": "/home/src/workspaces/project/index.ts", "configFile": "/home/src/workspaces/project/tsconfig.build.json", "diagnostics": [ { @@ -214,6 +293,122 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/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] Project '/home/src/workspaces/project/tsconfig.build.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +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: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/index.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.build.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.build.json: + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.test.json: + {"pollingInterval":2000} +/home/src/workspaces/project/util.ts: *new* + {"pollingInterval":500} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules: + {} + {} *new* +/home/src/workspaces/node_modules/@types: + {} + {} *new* +/home/src/workspaces/project/node_modules: + {} + {} *new* +/home/src/workspaces/project/node_modules/@types: + {} + {} *new* + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.build.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true + noOpenRef: false *changed* + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/tsconfig.build.json *new* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/tsconfig.build.json *new* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/tsconfig.build.json *new* +/home/src/workspaces/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.build.json *default* +/home/src/workspaces/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/workspaces/project/util.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.build.json + +Info seq [hh:mm:ss:mss] request: + { + "seq": 2, + "type": "request", + "arguments": { + "file": "/home/src/workspaces/project/test.ts" + }, + "command": "open" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/test.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.test.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] event: { @@ -222,10 +417,9 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/home/src/workspaces/project/tsconfig.test.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/tsconfig.json to open" + "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/test.ts to open" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/test.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.test.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.test.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.test.json WatchType: Failed Lookup Locations @@ -242,8 +436,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/util.ts Text-1 "export {}" - /home/src/workspaces/project/test.ts Text-1 "import \"./util\";" - /home/src/workspaces/project/index.ts Text-1 "export * from \"./util\";" + /home/src/workspaces/project/test.ts SVC-1-0 "import \"./util\";" + /home/src/workspaces/project/index.ts SVC-1-0 "export * from \"./util\";" ../../tslibs/TS/Lib/lib.d.ts @@ -276,7 +470,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/tsconfig.json", + "triggerFile": "/home/src/workspaces/project/test.ts", "configFile": "/home/src/workspaces/project/tsconfig.test.json", "diagnostics": [ { @@ -328,39 +522,8 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"files\": [], \"references\": [{ \"path\": \"tsconfig.build.json\" }, { \"path\": \"tsconfig.test.json\" }] }" - - - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' - ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' - tsconfig.json - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.build.json' (Configured) @@ -378,12 +541,16 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/index.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.build.json,/home/src/workspaces/project/tsconfig.test.json +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/test.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.test.json Info seq [hh:mm:ss:mss] response: { "seq": 0, "type": "response", "command": "open", - "request_seq": 0, + "request_seq": 2, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -391,106 +558,101 @@ Info seq [hh:mm:ss:mss] response: } After Request watchedFiles:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/index.ts: *new* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/jsconfig.json: *new* +/home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/test.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/tsconfig.build.json: *new* +/home/src/workspaces/project/tsconfig.build.json: {"pollingInterval":2000} -/home/src/workspaces/project/tsconfig.json: *new* +/home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/tsconfig.test.json: *new* +/home/src/workspaces/project/tsconfig.test.json: {"pollingInterval":2000} -/home/src/workspaces/project/util.ts: *new* +/home/src/workspaces/project/util.ts: {"pollingInterval":500} watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: *new* - {} - {} - {} -/home/src/workspaces/node_modules/@types: *new* +/home/src/workspaces/node_modules: {} {} + {} *new* +/home/src/workspaces/node_modules/@types: {} {} -/home/src/workspaces/project/node_modules: *new* - {} - {} - {} -/home/src/workspaces/project/node_modules/@types: *new* + {} *new* +/home/src/workspaces/project/node_modules: {} {} + {} *new* +/home/src/workspaces/project/node_modules/@types: {} {} + {} *new* Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/workspaces/project/tsconfig.build.json (Configured) *new* +/home/src/workspaces/project/tsconfig.build.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true -/home/src/workspaces/project/tsconfig.json (Configured) *new* + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/workspaces/project/tsconfig.test.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true + autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 - /home/src/workspaces/project/tsconfig.build.json - /home/src/workspaces/project/tsconfig.test.json + containingProjects: 3 *changed* /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* - version: Text-1 - containingProjects: 3 /home/src/workspaces/project/tsconfig.build.json - /home/src/workspaces/project/tsconfig.test.json - /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* + /home/src/workspaces/project/tsconfig.test.json *new* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 - containingProjects: 3 - /home/src/workspaces/project/tsconfig.build.json - /home/src/workspaces/project/tsconfig.test.json + containingProjects: 3 *changed* /dev/null/inferredProject1* -/home/src/workspaces/project/index.ts *new* - version: Text-1 - containingProjects: 2 /home/src/workspaces/project/tsconfig.build.json - /home/src/workspaces/project/tsconfig.test.json -/home/src/workspaces/project/test.ts *new* + /home/src/workspaces/project/tsconfig.test.json *new* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/tsconfig.build.json + /home/src/workspaces/project/tsconfig.test.json *new* +/home/src/workspaces/project/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /home/src/workspaces/project/tsconfig.build.json *default* + /home/src/workspaces/project/tsconfig.test.json *new* +/home/src/workspaces/project/test.ts (Open) *new* + version: SVC-1-0 containingProjects: 1 - /home/src/workspaces/project/tsconfig.test.json -/home/src/workspaces/project/tsconfig.json (Open) *new* + /home/src/workspaces/project/tsconfig.test.json *default* +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/workspaces/project/util.ts *new* +/home/src/workspaces/project/util.ts *changed* version: Text-1 - containingProjects: 2 + containingProjects: 2 *changed* /home/src/workspaces/project/tsconfig.build.json - /home/src/workspaces/project/tsconfig.test.json + /home/src/workspaces/project/tsconfig.test.json *new* Info seq [hh:mm:ss:mss] request: { - "seq": 1, + "seq": 3, "type": "request", "arguments": { "file": "/home/src/workspaces/project/util.ts" @@ -502,7 +664,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "fileReferences", - "request_seq": 1, + "request_seq": 3, "success": true, "body": { "refs": [ diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js index 1e297292da1b6..39c017336d0dd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js @@ -40,16 +40,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/a.ts", @@ -61,6 +51,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index 6fc787b3879fc..701068dadf6da 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -48,16 +48,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [], "options": { @@ -74,7 +64,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { } ] } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/server/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/server/index.js", @@ -94,20 +83,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/server/ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server 1 undefined Config: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server 1 undefined Config: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/shared/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/packages/shared/src/referenced.ts" - ], - "options": { - "rootDir": "/home/src/workspaces/project/packages/shared/src", - "outDir": "/home/src/workspaces/project/packages/shared/dist", - "composite": true, - "configFilePath": "/home/src/workspaces/project/packages/shared/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared 1 undefined Config: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared 1 undefined Config: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/client/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/client/index.ts" @@ -131,35 +106,151 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/client/ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client 1 undefined Config: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client 1 undefined Config: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/shared/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/packages/shared/src/referenced.ts" + ], + "options": { + "rootDir": "/home/src/workspaces/project/packages/shared/src", + "outDir": "/home/src/workspaces/project/packages/shared/dist", + "composite": true, + "configFilePath": "/home/src/workspaces/project/packages/shared/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared 1 undefined Config: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared 1 undefined Config: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"files\": [], \"references\": [{ \"path\": \"packages/server\" }, { \"path\": \"packages/client\" }] }" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + tsconfig.json + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: +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: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] response: { "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json" + "type": "response", + "command": "open", + "request_seq": 0, + "success": true, + "performanceData": { + "updateGraphDurationMs": * } } -Info seq [hh:mm:ss:mss] event: +After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: *new* + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/workspaces/project/packages/client/tsconfig.json: *new* + {"pollingInterval":2000} +/home/src/workspaces/project/packages/server/tsconfig.json: *new* + {"pollingInterval":2000} +/home/src/workspaces/project/packages/shared/tsconfig.json: *new* + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.json: *new* + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules: *new* + {} +/home/src/workspaces/node_modules/@types: *new* + {} +/home/src/workspaces/project/node_modules: *new* + {} +/home/src/workspaces/project/node_modules/@types: *new* + {} +/home/src/workspaces/project/packages/client: *new* + {} +/home/src/workspaces/project/packages/server: *new* + {} +/home/src/workspaces/project/packages/shared: *new* + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true + noOpenRef: true + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/home/src/workspaces/project/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +Info seq [hh:mm:ss:mss] request: { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/tsconfig.json", - "configFile": "/home/src/workspaces/project/tsconfig.json", - "diagnostics": [] - } + "seq": 1, + "type": "request", + "arguments": { + "file": "/home/src/workspaces/project/packages/server/index.js" + }, + "command": "open" } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/server/index.js ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/server/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/server Info seq [hh:mm:ss:mss] event: { @@ -168,16 +259,14 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/home/src/workspaces/project/packages/server/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/tsconfig.json to open" + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/server/index.js to open" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/index.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/router.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/server/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/src/referenced.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations @@ -186,8 +275,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots @@ -203,7 +290,7 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/packages/shared/src/referenced.ts Text-1 "export {};" - /home/src/workspaces/project/packages/server/index.js Text-1 "const mod = require(\"../shared/src/referenced\");" + /home/src/workspaces/project/packages/server/index.js SVC-1-0 "const mod = require(\"../shared/src/referenced\");" /home/src/workspaces/project/packages/server/router.js Text-1 "const blah = require(\"../shared/dist/referenced\");" @@ -237,7 +324,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/tsconfig.json", + "triggerFile": "/home/src/workspaces/project/packages/server/index.js", "configFile": "/home/src/workspaces/project/packages/server/tsconfig.json", "diagnostics": [ { @@ -253,6 +340,145 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/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] Project '/home/src/workspaces/project/packages/server/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (6) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +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: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/server/index.js ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/server/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/packages/client/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/packages/server/router.js: *new* + {"pollingInterval":500} +/home/src/workspaces/project/packages/server/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/packages/shared/src/referenced.ts: *new* + {"pollingInterval":500} +/home/src/workspaces/project/packages/shared/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.json: + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules: + {} + {} *new* +/home/src/workspaces/node_modules/@types: + {} + {} *new* +/home/src/workspaces/project/node_modules: + {} + {} *new* +/home/src/workspaces/project/node_modules/@types: + {} + {} *new* +/home/src/workspaces/project/packages/client: + {} +/home/src/workspaces/project/packages/node_modules: *new* + {} +/home/src/workspaces/project/packages/node_modules/@types: *new* + {} +/home/src/workspaces/project/packages/server: + {} +/home/src/workspaces/project/packages/server/node_modules: *new* + {} +/home/src/workspaces/project/packages/server/node_modules/@types: *new* + {} +/home/src/workspaces/project/packages/shared: + {} + {} *new* + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/packages/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true + noOpenRef: false *changed* + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/packages/server/tsconfig.json *new* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/packages/server/tsconfig.json *new* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/packages/server/tsconfig.json *new* +/home/src/workspaces/project/packages/server/index.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/workspaces/project/packages/server/tsconfig.json *default* +/home/src/workspaces/project/packages/server/router.js *new* + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/packages/server/tsconfig.json +/home/src/workspaces/project/packages/shared/src/referenced.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/packages/server/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 2, + "type": "request", + "arguments": { + "file": "/home/src/workspaces/project/packages/client/index.ts" + }, + "command": "open" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/client/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/client/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/client/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/client Info seq [hh:mm:ss:mss] event: { @@ -261,10 +487,9 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/home/src/workspaces/project/packages/client/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/tsconfig.json to open" + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/client/index.ts to open" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/client/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations @@ -289,7 +514,7 @@ Info seq [hh:mm:ss:mss] Files (5) /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/packages/shared/src/referenced.ts Text-1 "export {};" - /home/src/workspaces/project/packages/client/index.ts Text-1 "import \"@shared/referenced\";" + /home/src/workspaces/project/packages/client/index.ts SVC-1-0 "import \"@shared/referenced\";" ../../../../tslibs/TS/Lib/lib.d.ts @@ -319,111 +544,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/tsconfig.json", + "triggerFile": "/home/src/workspaces/project/packages/client/index.ts", "configFile": "/home/src/workspaces/project/packages/client/tsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/shared/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/shared -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/packages/shared/src/referenced.ts Text-1 "export {};" - - - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - src/referenced.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/tsconfig.json", - "configFile": "/home/src/workspaces/project/packages/shared/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"files\": [], \"references\": [{ \"path\": \"packages/server\" }, { \"path\": \"packages/client\" }] }" - - - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' - ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' - tsconfig.json - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/server/tsconfig.json' (Configured) @@ -433,10 +560,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/client/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/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 (4) @@ -445,12 +568,16 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/server/index.js ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/server/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/client/index.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/client/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, "type": "response", "command": "open", - "request_seq": 0, + "request_seq": 2, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -458,152 +585,129 @@ Info seq [hh:mm:ss:mss] response: } After Request watchedFiles:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/jsconfig.json: *new* +/home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/client/index.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/packages/client/tsconfig.json: *new* +/home/src/workspaces/project/packages/client/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/server/index.js: *new* - {"pollingInterval":500} -/home/src/workspaces/project/packages/server/router.js: *new* +/home/src/workspaces/project/packages/server/router.js: {"pollingInterval":500} -/home/src/workspaces/project/packages/server/tsconfig.json: *new* +/home/src/workspaces/project/packages/server/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/shared/src/referenced.ts: *new* +/home/src/workspaces/project/packages/shared/src/referenced.ts: {"pollingInterval":500} -/home/src/workspaces/project/packages/shared/tsconfig.json: *new* +/home/src/workspaces/project/packages/shared/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/tsconfig.json: *new* +/home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: *new* - {} +/home/src/workspaces/node_modules: {} {} - {} -/home/src/workspaces/node_modules/@types: *new* - {} + {} *new* +/home/src/workspaces/node_modules/@types: {} {} + {} *new* +/home/src/workspaces/project/node_modules: {} {} -/home/src/workspaces/project/node_modules: *new* - {} + {} *new* +/home/src/workspaces/project/node_modules/@types: {} {} - {} -/home/src/workspaces/project/node_modules/@types: *new* - {} - {} - {} - {} - {} -/home/src/workspaces/project/packages/client: *new* + {} *new* +/home/src/workspaces/project/packages/client: {} /home/src/workspaces/project/packages/client/node_modules: *new* {} /home/src/workspaces/project/packages/client/node_modules/@types: *new* {} -/home/src/workspaces/project/packages/node_modules: *new* - {} +/home/src/workspaces/project/packages/node_modules: {} + {} *new* +/home/src/workspaces/project/packages/node_modules/@types: {} -/home/src/workspaces/project/packages/node_modules/@types: *new* + {} *new* +/home/src/workspaces/project/packages/server: {} +/home/src/workspaces/project/packages/server/node_modules: {} +/home/src/workspaces/project/packages/server/node_modules/@types: {} -/home/src/workspaces/project/packages/server: *new* +/home/src/workspaces/project/packages/shared: {} -/home/src/workspaces/project/packages/server/node_modules: *new* - {} -/home/src/workspaces/project/packages/server/node_modules/@types: *new* - {} -/home/src/workspaces/project/packages/shared: *new* - {} - {} -/home/src/workspaces/project/packages/shared/node_modules: *new* - {} -/home/src/workspaces/project/packages/shared/node_modules/@types: *new* {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false /home/src/workspaces/project/packages/client/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true -/home/src/workspaces/project/packages/server/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true -/home/src/workspaces/project/packages/shared/tsconfig.json (Configured) *new* + autoImportProviderHost: false +/home/src/workspaces/project/packages/server/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true -/home/src/workspaces/project/tsconfig.json (Configured) *new* + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 - /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json + containingProjects: 3 *changed* /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* - version: Text-1 - containingProjects: 4 /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json - /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* + /home/src/workspaces/project/packages/client/tsconfig.json *new* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 - containingProjects: 4 - /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json + containingProjects: 3 *changed* /dev/null/inferredProject1* -/home/src/workspaces/project/packages/client/index.ts *new* + /home/src/workspaces/project/packages/server/tsconfig.json + /home/src/workspaces/project/packages/client/tsconfig.json *new* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/packages/server/tsconfig.json + /home/src/workspaces/project/packages/client/tsconfig.json *new* +/home/src/workspaces/project/packages/client/index.ts (Open) *new* + version: SVC-1-0 containingProjects: 1 - /home/src/workspaces/project/packages/client/tsconfig.json -/home/src/workspaces/project/packages/server/index.js *new* - version: Text-1 + /home/src/workspaces/project/packages/client/tsconfig.json *default* +/home/src/workspaces/project/packages/server/index.js (Open) + version: SVC-1-0 containingProjects: 1 - /home/src/workspaces/project/packages/server/tsconfig.json -/home/src/workspaces/project/packages/server/router.js *new* + /home/src/workspaces/project/packages/server/tsconfig.json *default* +/home/src/workspaces/project/packages/server/router.js version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/server/tsconfig.json -/home/src/workspaces/project/packages/shared/src/referenced.ts *new* +/home/src/workspaces/project/packages/shared/src/referenced.ts *changed* version: Text-1 - containingProjects: 3 + containingProjects: 2 *changed* /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json -/home/src/workspaces/project/tsconfig.json (Open) *new* + /home/src/workspaces/project/packages/client/tsconfig.json *new* +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { - "seq": 1, + "seq": 3, "type": "request", "arguments": { "file": "/home/src/workspaces/project/packages/shared/src/referenced.ts" @@ -615,7 +719,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "fileReferences", - "request_seq": 1, + "request_seq": 3, "success": true, "body": { "refs": [ diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js index 8fe4d5ab97c2b..b8a272270516a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js @@ -182,16 +182,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.mts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/index.mts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.mts" @@ -203,6 +193,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/index.mts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js index 8b3e77cf1279f..10109b898a1dc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js @@ -55,16 +55,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts" @@ -75,6 +65,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js index 08bba09b5e624..a0ccd4f5c0af6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js +++ b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js @@ -36,16 +36,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts", @@ -56,6 +46,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js b/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js index 994fe53556c0e..349d448fb1059 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js @@ -40,16 +40,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts", @@ -60,6 +50,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js index e2829c6d13036..42bdcde0d00b8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js @@ -50,16 +50,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/apps/app1/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/apps/app1/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/apps/app1/tsconfig.json, currentDirectory: /home/src/workspaces/project/apps/app1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/apps/app1/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/apps/app1/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/apps/app1/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/apps/app1/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/apps/app1/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/apps/app1/src/app.ts", @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/apps/app1/tsconfig "configFilePath": "/home/src/workspaces/project/apps/app1/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/apps/app1/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/apps/app1/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/apps/app1/src 1 undefined Config: /home/src/workspaces/project/apps/app1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/apps/app1/src 1 undefined Config: /home/src/workspaces/project/apps/app1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/shared 1 undefined Config: /home/src/workspaces/project/apps/app1/tsconfig.json WatchType: Wild card directory diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js index 4e93e3659415a..ddea2b3c616c5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js @@ -219,16 +219,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/pkg-1/src/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/pkg-1/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/pkg-1/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/pkg-1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/pkg-1/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/packages/pkg-1/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/pkg-1/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/pkg-1/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/pkg-1/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/packages/pkg-1/src/index.ts" @@ -254,6 +244,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/packages/pkg-1/tsc ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.base.json 2000 undefined Config: /home/src/workspaces/project/packages/pkg-1/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/pkg-1/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/pkg-1/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/pkg-1 1 undefined Config: /home/src/workspaces/project/packages/pkg-1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/pkg-1 1 undefined Config: /home/src/workspaces/project/packages/pkg-1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/pkg-1/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js index d4ea52d1a0303..2839931e93937 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js @@ -34,6 +34,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -44,15 +53,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js index 156e5cbb1c952..fb343e312ae60 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js @@ -34,6 +34,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -44,15 +53,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js index 42c3c048c6a08..a6ae0be641284 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -39,6 +39,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "module": 1, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,15 +58,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "module": 1, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js index 7f1830fa6512e..9fffbf1117891 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js @@ -33,6 +33,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/ambient.d.ts" + ], + "options": { + "module": 99, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -43,15 +52,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/ambient.d.ts" - ], - "options": { - "module": 99, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/ambient.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js index 7d59edf181a53..97bfe18310faf 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js @@ -55,16 +55,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/a.js" @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a.js 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js index 659f28d2af6dd..db8675136f3a7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js @@ -37,16 +37,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts", @@ -58,6 +48,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js index 6e5af48128241..6de357a2d5243 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js @@ -46,16 +46,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/jsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/jsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined Project: /home/src/workspaces/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/jsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/jsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/jsconfig.json : { "rootNames": [ "/home/src/workspaces/project/a.js" @@ -70,6 +60,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/jsconfig.json : { "configFilePath": "/home/src/workspaces/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/jsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/jsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a.js 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js index 8ff664d6afef0..bcf73eac1345e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -38,6 +38,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a.ts" + ], + "options": { + "module": 99, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -48,15 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a.ts" - ], - "options": { - "module": 99, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js index 326fb16be90c3..fe3d5f2a16705 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js @@ -113,16 +113,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/a/tsconfig.json, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/a/index.ts" @@ -147,6 +137,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.settings.json 2000 undefined Config: /home/src/workspaces/project/a/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/a/index.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/b/tsconfig.json : { "rootNames": [ @@ -616,7 +616,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/b/tsconfig.json", + "triggerFile": "/home/src/workspaces/project/b/index.ts", "configFile": "/home/src/workspaces/project/b/tsconfig.json", "diagnostics": [] } @@ -682,7 +682,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/c/tsconfig.json", + "triggerFile": "/home/src/workspaces/project/c/index.ts", "configFile": "/home/src/workspaces/project/c/tsconfig.json", "diagnostics": [] } diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js index 6efb927e55381..8ca195c2f5e47 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js @@ -155,16 +155,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/a/tsconfig.json, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/a/index.ts" @@ -189,6 +179,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.settings.json 2000 undefined Config: /home/src/workspaces/project/a/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/a/index.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/b/tsconfig.json : { "rootNames": [ @@ -720,7 +720,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/c/tsconfig.json", + "triggerFile": "/home/src/workspaces/project/c/index.ts", "configFile": "/home/src/workspaces/project/c/tsconfig.json", "diagnostics": [] } diff --git a/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js b/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js index 6e17c0d2f8ab5..2ab0078a6d60b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js @@ -35,16 +35,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/source.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/source.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/source.ts", @@ -55,6 +45,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/source.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/target.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js index 2a6b35a48a19c..1cb09de22d54b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/index.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js index 36ce668c9a12f..f606b37730488 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js @@ -39,16 +39,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tests/cases/fourslash/server/tsconfig.json", - "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "rootNames": [ "/tests/cases/fourslash/server/a.ts" @@ -63,6 +53,16 @@ Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tests/cases/fourslash/server/tsconfig.json", + "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] Enabling plugin quickinfo-augmeneter from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. Info seq [hh:mm:ss:mss] Loading quickinfo-augmeneter from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Plugin validation succeeded diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js index 7ac8483b02832..def72a1d9a63a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js @@ -39,16 +39,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tests/cases/fourslash/server/tsconfig.json", - "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "rootNames": [ "/tests/cases/fourslash/server/a.ts" @@ -62,6 +52,16 @@ Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tests/cases/fourslash/server/tsconfig.json", + "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] Enabling plugin invalidmodulename from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. Info seq [hh:mm:ss:mss] Loading invalidmodulename from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Failed to load module 'invalidmodulename' from /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules: Error: HarnessLanguageService:: Could not resolve module diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js index fab391f7d4fec..56de758115a8c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js @@ -39,16 +39,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tests/cases/fourslash/server/tsconfig.json", - "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "rootNames": [ "/tests/cases/fourslash/server/a.ts" @@ -62,6 +52,16 @@ Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tests/cases/fourslash/server/tsconfig.json", + "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] Enabling plugin create-thrower from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. Info seq [hh:mm:ss:mss] Loading create-thrower from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Plugin activation failed: Error: I am not a well-behaved plugin diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js index 4df8976066882..4bb9209564f5e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js @@ -39,16 +39,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tests/cases/fourslash/server/tsconfig.json", - "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "rootNames": [ "/tests/cases/fourslash/server/a.ts" @@ -62,6 +52,16 @@ Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tests/cases/fourslash/server/tsconfig.json", + "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] Enabling plugin diagnostic-adder from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. Info seq [hh:mm:ss:mss] Loading diagnostic-adder from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Plugin validation succeeded diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js index 75b7728fc4dbb..5f602edaa27a4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js @@ -55,16 +55,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tests/cases/fourslash/server/tsconfig.json", - "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "rootNames": [ "/tests/cases/fourslash/server/src/example.ts", @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tests/cases/fourslash/server/tsconfig.json", + "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/src 1 undefined Config: /tests/cases/fourslash/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/src 1 undefined Config: /tests/cases/fourslash/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/src/example.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js index c7d1414b214af..18cf444572c33 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js @@ -186,6 +186,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/src/foo.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/src/foo.ts" + ], + "options": { + "module": 199, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -196,15 +205,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/src/foo.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/src/foo.ts" - ], - "options": { - "module": 199, - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution diff --git a/tests/baselines/reference/tsserver/fourslashServer/openFile.js b/tests/baselines/reference/tsserver/fourslashServer/openFile.js index ec8c8516a839e..fcfabcaf0bc91 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFile.js @@ -33,6 +33,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/test1.ts ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { + "rootNames": [ + "/tests/cases/fourslash/server/test.ts", + "/tests/cases/fourslash/server/test1.ts" + ], + "options": { + "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -43,15 +52,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /tests/cases/fourslash/server/test1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { - "rootNames": [ - "/tests/cases/fourslash/server/test.ts", - "/tests/cases/fourslash/server/test1.ts" - ], - "options": { - "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/test.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_addInNextLine.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_addInNextLine.js index d6260ec7e9d72..b075d155b0503 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_addInNextLine.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_addInNextLine.js @@ -42,6 +42,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a.ts", + "/home/src/workspaces/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -52,15 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a.ts", - "/home/src/workspaces/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js index 78a05bf5e157f..b896f39cefe33 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js @@ -41,16 +41,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/c.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/c.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/c.ts", @@ -61,6 +51,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/c.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js index 9fd48c877d729..816d7c3da38b0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js @@ -43,16 +43,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/target.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/target.ts", @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/other.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/other2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/other3.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js index 5aaf69f2f2e0d..9650b9b0830de 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js @@ -49,16 +49,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/target.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/target.ts", @@ -71,6 +61,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/originalFile.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/other.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/other2.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js index 08c26b27b2555..d9a354d3f163e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js @@ -41,16 +41,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/target.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/file1.ts", @@ -61,6 +51,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js index 6687ae4e58508..ae30987eb6b4c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js @@ -43,16 +43,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/target.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/file1.ts", @@ -63,6 +53,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js index cab0c8bb320be..3729d5a6c9360 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/target.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/file1.ts", @@ -65,6 +55,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/other.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js index bc707eb8c9cfe..6e1fe8bf64212 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js @@ -48,16 +48,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/target.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/file1.ts", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/other.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js index f4877b49a8566..cfe8e5ff0d820 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js @@ -43,16 +43,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/target.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/file1.ts", @@ -63,6 +53,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlyLargerInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlyLargerInSize.js index d25eaac871c42..d0698ad8454c6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlyLargerInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlyLargerInSize.js @@ -59,6 +59,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a.ts", + "/home/src/workspaces/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -69,15 +78,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a.ts", - "/home/src/workspaces/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlySmallerInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlySmallerInSize.js index e26f089a194f7..7cfa1b3f2a74b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlySmallerInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlySmallerInSize.js @@ -66,6 +66,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a.ts", + "/home/src/workspaces/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -76,15 +85,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a.ts", - "/home/src/workspaces/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesEqualInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesEqualInSize.js index ae19ad09f84b6..288789178ee0e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesEqualInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesEqualInSize.js @@ -58,6 +58,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a.ts", + "/home/src/workspaces/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -68,15 +77,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a.ts", - "/home/src/workspaces/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingAndShrinkingInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingAndShrinkingInSize.js index f2bb85f23921b..7c4367eff52f3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingAndShrinkingInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingAndShrinkingInSize.js @@ -55,6 +55,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a.ts", + "/home/src/workspaces/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -65,15 +74,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a.ts", - "/home/src/workspaces/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingInSize.js index e4076ab00f16a..465f0676842f0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingInSize.js @@ -59,16 +59,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/a.ts", @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesShrinkingInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesShrinkingInSize.js index 12c09b97fb3ce..77a66ae77fe1f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesShrinkingInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesShrinkingInSize.js @@ -59,16 +59,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/a.ts", @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeeded.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeeded.js index e550b3da8a1b9..9bc9b7d28da64 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeeded.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeeded.js @@ -35,6 +35,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/b.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a.ts", + "/home/src/workspaces/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -45,15 +54,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/b.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a.ts", - "/home/src/workspaces/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeededInUpdatedProgram.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeededInUpdatedProgram.js index 568b4908859e0..3409d16dfb091 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeededInUpdatedProgram.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeededInUpdatedProgram.js @@ -33,6 +33,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a.ts", + "/home/src/workspaces/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -43,15 +52,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a.ts", - "/home/src/workspaces/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js index 534eab076b0f6..a8313ba869f35 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js @@ -32,6 +32,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/target.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/target.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -42,14 +50,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/target.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js index 8d62d48549a5b..7a47831dbd57c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js @@ -34,6 +34,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/target.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/target.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -44,14 +52,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/target.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js index b48a1f777b87a..f0d22e519baee 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js @@ -41,16 +41,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/target.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/target.ts", @@ -61,6 +51,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/target.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/other.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/other2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js index 679e439af1b1d..0b7ea9051b0f5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js @@ -38,6 +38,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/file2.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/file1.ts", + "/home/src/workspaces/project/file2.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -48,15 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/file2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/file1.ts", - "/home/src/workspaces/project/file2.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js index 1ec9f5f09e472..f023a5aa8167b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js @@ -33,6 +33,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/a.ts ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { + "rootNames": [ + "/tests/cases/fourslash/server/a.ts", + "/tests/cases/fourslash/server/b.ts" + ], + "options": { + "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -43,15 +52,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /tests/cases/fourslash/server/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { - "rootNames": [ - "/tests/cases/fourslash/server/a.ts", - "/tests/cases/fourslash/server/b.ts" - ], - "options": { - "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js index 54fa48ce60eba..6ace533f6d21c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js @@ -33,16 +33,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/a.ts ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tests/cases/fourslash/server/tsconfig.json", - "reason": "Creating possible configured project for /tests/cases/fourslash/server/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "rootNames": [ "/tests/cases/fourslash/server/a.ts", @@ -53,6 +43,16 @@ Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tests/cases/fourslash/server/tsconfig.json", + "reason": "Creating possible configured project for /tests/cases/fourslash/server/a.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js index 1b63000cd63bf..50c56d67e47f3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js @@ -35,6 +35,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/referencesForGlobals_1.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/referencesForGlobals_1.ts", + "/home/src/workspaces/project/referencesForGlobals_2.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -45,15 +54,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/referencesForGlobals_1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/referencesForGlobals_1.ts", - "/home/src/workspaces/project/referencesForGlobals_2.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/referencesForGlobals_2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js index 59de237438c7e..65fee1b970dfd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/a/tsconfig.json, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a/a.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/a/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a/a.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/b.ts 500 undefined WatchType: Closed Script info @@ -403,6 +403,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/b/tsconfig.json, currentDirectory: /home/src/workspaces/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/b/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/b/b.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -413,14 +421,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/b/b.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/b/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/b/b.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/node_modules 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/node_modules 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js index 144a40e20f0bc..1ef77e20998c9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/a/tsconfig.json, currentDirectory: /home/src/workspaces/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/a/a.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/a/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/a/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/a/a.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/b.ts 500 undefined WatchType: Closed Script info @@ -424,6 +424,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/b/b.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/b/tsconfig.json, currentDirectory: /home/src/workspaces/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/b/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/b/b.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -434,14 +442,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/b/b.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/b/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/b/b.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/node_modules 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/b/node_modules 1 undefined Project: /home/src/workspaces/project/b/tsconfig.json WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js b/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js index 0f85f83c2285e..bb6ee7c7dfec6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js @@ -33,6 +33,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/referencesForGlobals_1.ts ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { + "rootNames": [ + "/tests/cases/fourslash/server/referencesForGlobals_1.ts", + "/tests/cases/fourslash/server/referencesForGlobals_2.ts" + ], + "options": { + "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -43,15 +52,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /tests/cases/fourslash/server/referencesForGlobals_1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { - "rootNames": [ - "/tests/cases/fourslash/server/referencesForGlobals_1.ts", - "/tests/cases/fourslash/server/referencesForGlobals_2.ts" - ], - "options": { - "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/referencesForGlobals_2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js index f0a21cc4ab6bd..4f47091a982f3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js @@ -41,6 +41,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/lib/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/lib/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/lib/tsconfig.json, currentDirectory: /home/src/workspaces/project/lib Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/lib/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/lib/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/lib/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/lib/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,14 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/lib/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/lib/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/lib/index.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/lib/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib 1 undefined Config: /home/src/workspaces/project/lib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib 1 undefined Config: /home/src/workspaces/project/lib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib/index.ts 500 undefined WatchType: Closed Script info @@ -120,6 +120,15 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/lib/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/lib/index.ts", + "/home/src/workspaces/project/src/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -130,15 +139,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/lib/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/lib/index.ts", - "/home/src/workspaces/project/src/index.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/index.ts 500 undefined WatchType: Closed Script info @@ -195,17 +195,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/lib/tsconfig.json", - "configFile": "/home/src/workspaces/project/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/lib Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -547,6 +536,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/src/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/src/tsconfig.json, currentDirectory: /home/src/workspaces/project/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/src/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/src/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/src/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/src/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -557,14 +554,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/src/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/src/index.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/src/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src 1 undefined Config: /home/src/workspaces/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src 1 undefined Config: /home/src/workspaces/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js index 452bb8938e345..981c1c689e65f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js @@ -41,6 +41,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/lib/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/lib/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/lib/tsconfig.json, currentDirectory: /home/src/workspaces/project/lib Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/lib/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/lib/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/lib/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/lib/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,14 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/lib/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/lib/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/lib/index.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/lib/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib 1 undefined Config: /home/src/workspaces/project/lib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib 1 undefined Config: /home/src/workspaces/project/lib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib/index.ts 500 undefined WatchType: Closed Script info @@ -120,6 +120,15 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/lib/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/lib/index.ts", + "/home/src/workspaces/project/src/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -130,15 +139,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/lib/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/lib/index.ts", - "/home/src/workspaces/project/src/index.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/index.ts 500 undefined WatchType: Closed Script info @@ -195,17 +195,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/lib/tsconfig.json", - "configFile": "/home/src/workspaces/project/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/lib Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/lib/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -547,6 +536,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/src/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/src/tsconfig.json, currentDirectory: /home/src/workspaces/project/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/src/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/src/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/src/index.ts" + ], + "options": { + "configFilePath": "/home/src/workspaces/project/src/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -557,14 +554,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/workspaces/project/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/src/tsconfig.json : { - "rootNames": [ - "/home/src/workspaces/project/src/index.ts" - ], - "options": { - "configFilePath": "/home/src/workspaces/project/src/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src 1 undefined Config: /home/src/workspaces/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src 1 undefined Config: /home/src/workspaces/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js index 3e05260de3d9b..dad56fd318bf8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js @@ -48,16 +48,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "rootNames": [ "/home/src/workspaces/project/index.ts" @@ -70,6 +60,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js index 9a35d8f25830c..1950de09baa50 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js @@ -33,6 +33,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /tests/cases/fourslash/server/tsconfig.json, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { + "rootNames": [ + "/tests/cases/fourslash/server/nonexistentfile.ts" + ], + "options": { + "configFilePath": "/tests/cases/fourslash/server/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -43,14 +51,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /tests/cases/fourslash/server/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/tsconfig.json : { - "rootNames": [ - "/tests/cases/fourslash/server/nonexistentfile.ts" - ], - "options": { - "configFilePath": "/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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js index 78cfcd7dbd8a7..f7eab8d949898 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js @@ -74,16 +74,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/myprojects/project/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/myprojects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/myprojects/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/myprojects/project/tsconfig.json : { "rootNames": [ "/home/src/myprojects/project/index.ts", @@ -105,6 +95,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/myprojects/project/tsconfig.json : { "configFilePath": "/home/src/myprojects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/myprojects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/myprojects/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js index 93612001243c4..27878ca973856 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js @@ -63,16 +63,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project:: Result: /home/src/myprojects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/myprojects/project/tsconfig.json, currentDirectory: /home/src/myprojects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myprojects/project/tsconfig.json 2000 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/myprojects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/myprojects/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/myprojects/project/tsconfig.json : { "rootNames": [ "/home/src/myprojects/project/index.ts", @@ -94,6 +84,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/myprojects/project/tsconfig.json : { "configFilePath": "/home/src/myprojects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/myprojects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/myprojects/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components/whatever/alert.ts 500 undefined WatchType: Closed Script info 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 04e0459a14dcf..d23522db37165 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 @@ -45,6 +45,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a.ts", + "/home/src/projects/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -55,15 +64,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a.ts", - "/home/src/projects/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 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/project/b 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations 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 9a032f76fbc90..04aee031b9ed8 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js @@ -51,6 +51,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/user.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/old.ts", + "/home/src/projects/project/a/user.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -61,15 +70,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/user.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/old.ts", - "/home/src/projects/project/a/user.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/old.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info @@ -227,6 +227,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/user.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/b/user.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -237,14 +245,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/b/user.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/b/user.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js index e4f8720e1f3e3..c58a60d703002 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js @@ -68,16 +68,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/myproject/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "rootNames": [ "/home/src/projects/myproject/src/index.ts", @@ -93,6 +83,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "configFilePath": "/home/src/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js index c8add431c34cc..6bff2255e264c 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/myproject/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "rootNames": [ "/home/src/projects/myproject/src/index.ts", @@ -85,6 +75,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "configFilePath": "/home/src/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js index 9e577be3ebd48..1cd6a409fd71e 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js @@ -68,16 +68,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/myproject/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "rootNames": [ "/home/src/projects/myproject/src/index.ts", @@ -93,6 +83,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "configFilePath": "/home/src/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js index 652e7c33bf5e4..475a027f968d3 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/myproject/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "rootNames": [ "/home/src/projects/myproject/src/index.ts", @@ -85,6 +75,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "configFilePath": "/home/src/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js index 766c8211cfdf6..afdf22ae28b7c 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js @@ -68,16 +68,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/myproject/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "rootNames": [ "/home/src/projects/myproject/src/index.ts", @@ -93,6 +83,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "configFilePath": "/home/src/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js index b5a28edddb4e5..d22ee03e5164a 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/myproject/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "rootNames": [ "/home/src/projects/myproject/src/index.ts", @@ -85,6 +75,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { "configFilePath": "/home/src/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/myproject/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js index 59de2b0249a3b..6def449ddf3de 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js @@ -44,6 +44,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/main.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/main.ts", + "/home/src/projects/project/mod.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,15 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/main.ts", - "/home/src/projects/project/mod.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/mod.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js index 3f96085109942..9a28c15af8df9 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js @@ -44,6 +44,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/main.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/main.ts", + "/home/src/projects/project/mod.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,15 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/main.ts", - "/home/src/projects/project/mod.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/mod.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js index c1add7d247a59..d5543043c6d70 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js @@ -44,6 +44,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/main.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/main.ts", + "/home/src/projects/project/mod.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,15 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/main.ts", - "/home/src/projects/project/mod.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/mod.ts 500 undefined WatchType: Closed Script info 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 666969452d627..abc00e35b77b7 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 @@ -44,6 +44,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/main.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/main.ts", + "/home/src/projects/project/mod.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,15 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/main.ts", - "/home/src/projects/project/mod.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/mod.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js index 516bcfae061a0..a8989d211b81a 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js @@ -44,6 +44,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/main.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/main.ts", + "/home/src/projects/project/mod.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,15 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/main.ts", - "/home/src/projects/project/mod.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/mod.ts 500 undefined WatchType: Closed Script info 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 9d6343429272e..9f70484cbc495 100644 --- a/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js +++ b/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js @@ -47,16 +47,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info 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 c3e031bede015..700ab243a3200 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 @@ -47,16 +47,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info 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 index 090b12b0ec523..f069f7a1f08a0 100644 --- 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 @@ -47,6 +47,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/bar.jsx ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/foo.js", + "/home/src/projects/project/bar.jsx" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -57,15 +66,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/bar.jsx to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/foo.js", - "/home/src/projects/project/bar.jsx" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/foo.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 index f0cc72525b529..a46afd29bfbbb 100644 --- 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 @@ -46,6 +46,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/bar.tsx ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/foo.ts", + "/home/src/projects/project/bar.tsx" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,15 +65,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/bar.tsx to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/foo.ts", - "/home/src/projects/project/bar.tsx" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 03cc87fbb88d1..991d48b417460 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 @@ -53,16 +53,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/file1.d.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/file1.d.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/file1.d.ts", @@ -74,6 +64,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/file1.d.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/lib.es6.d.ts 500 undefined WatchType: Closed Script info 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 74af304c13aec..a39ed26c286c4 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 @@ -57,16 +57,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/file1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/file1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/file1.js", @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/file1.js to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/file2.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/file3.mts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/file4.ts 500 undefined WatchType: Closed Script info 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 443461295fce5..57e7d46a80dac 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 @@ -68,16 +68,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/file1.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/file1.ts", @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/file2.tsx 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/file3.mts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/file4.cts 500 undefined WatchType: Closed Script info 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 99986f8aff72f..396d8a1286c88 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 @@ -56,16 +56,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/file1.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/file1.ts", @@ -77,6 +67,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/file4.ts 500 undefined WatchType: Closed Script info 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 d5cabb4ec6c04..3421cc504bec3 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 @@ -61,16 +61,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/babel-loader/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/babel-loader/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/babel-loader/tsconfig.json, currentDirectory: /home/src/projects/project/packages/babel-loader Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/babel-loader/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/babel-loader/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/babel-loader/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/babel-loader/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/babel-loader/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/babel-loader/src/index.ts" @@ -85,6 +75,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/babel-loade "configFilePath": "/home/src/projects/project/packages/babel-loader/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/babel-loader/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/babel-loader/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/babel-loader/src 1 undefined Config: /home/src/projects/project/packages/babel-loader/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/babel-loader/src 1 undefined Config: /home/src/projects/project/packages/babel-loader/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/babel-loader/tsconfig.json 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 5c6c8a0609ac6..f10f5aeea77ca 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 @@ -67,16 +67,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/babel-loader/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/babel-loader/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/babel-loader/tsconfig.json, currentDirectory: /home/src/projects/project/packages/babel-loader Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/babel-loader/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/babel-loader/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/babel-loader/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/babel-loader/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/babel-loader/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/babel-loader/src/index.ts" @@ -91,6 +81,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/babel-loade "configFilePath": "/home/src/projects/project/packages/babel-loader/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/babel-loader/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/babel-loader/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/babel-loader/src 1 undefined Config: /home/src/projects/project/packages/babel-loader/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/babel-loader/src 1 undefined Config: /home/src/projects/project/packages/babel-loader/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/babel-loader/tsconfig.json diff --git a/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js b/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js index 42935252edb44..8025b01876796 100644 --- a/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js +++ b/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js @@ -67,16 +67,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspace/projects/file3.js ProjectRootPath: undefined:: Result: /user/username/workspace/projects/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/workspace/projects/tsconfig.json, currentDirectory: /user/username/workspace/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspace/projects/tsconfig.json 2000 undefined Project: /user/username/workspace/projects/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/workspace/projects/tsconfig.json", - "reason": "Creating possible configured project for /user/username/workspace/projects/file3.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/workspace/projects/tsconfig.json : { "rootNames": [ "/user/username/workspace/projects/project/file1.ts", @@ -87,6 +77,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/workspace/projects/tsconfig.json "configFilePath": "/user/username/workspace/projects/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/workspace/projects/tsconfig.json", + "reason": "Creating possible configured project for /user/username/workspace/projects/file3.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects 1 undefined Config: /user/username/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects 1 undefined Config: /user/username/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspace/projects/project/file1.ts 500 undefined WatchType: Closed Script info @@ -450,16 +450,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspa Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspace/projects/project/file1.ts ProjectRootPath: undefined:: Result: /user/username/workspace/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/workspace/projects/project/tsconfig.json, currentDirectory: /user/username/workspace/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspace/projects/project/tsconfig.json 2000 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/workspace/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/workspace/projects/project/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/workspace/projects/project/tsconfig.json : { "rootNames": [ "/user/username/workspace/projects/project/file1.ts", @@ -472,6 +462,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/workspace/projects/project/tscon } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspace/projects/tsconfig.json 2000 undefined Config: /user/username/workspace/projects/project/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/workspace/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/workspace/projects/project/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects 1 undefined Config: /user/username/workspace/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects 1 undefined Config: /user/username/workspace/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/workspace/projects/project/tsconfig.json 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 321cbeb7554fa..d3b7034bb95bf 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 @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/jsFile1.js ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/app.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/jsFile1.js to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/app.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app.ts 500 undefined WatchType: Closed Script info 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 db29d91c5ec01..6bf96cc25c289 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 @@ -342,17 +342,14 @@ ScriptInfos:: 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/b/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/b/tsconfig.json, currentDirectory: /user/username/projects/myproject/a/b -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms 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] 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] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/b/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms 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 -Before running Timeout callback:: count: 2 -1: /user/username/projects/myproject/a/b/tsconfig.json -3: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/a/b/tsconfig.json] { "compilerOptions": { @@ -398,31 +395,24 @@ FsWatches:: /user/username/projects/myproject/a/b/tsconfig.json: *new* {} -Timeout callback:: count: 2 -1: /user/username/projects/myproject/a/b/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +2: *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 - dirty: true - initialLoadPending: true +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before 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] Running: /user/username/projects/myproject/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/b/tsconfig.json", - "reason": "Change in config file /user/username/projects/myproject/a/b/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/a/b/main.ts to open" - } - } +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/a/b/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a/c/main.ts ProjectRootPath: undefined +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] Creating ConfiguredProject: /user/username/projects/myproject/a/b/tsconfig.json, currentDirectory: /user/username/projects/myproject/a/b Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/b/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/b/main.ts" @@ -432,6 +422,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/b/tsconfig. "configFilePath": "/user/username/projects/myproject/a/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/b/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/b/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/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/a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es6.d.ts 500 undefined WatchType: Closed Script info @@ -514,28 +514,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/a/b/tsconfig.json", + "triggerFile": "/user/username/projects/myproject/a/b/main.ts", "configFile": "/user/username/projects/myproject/a/b/tsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/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] 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/a/b/main.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a/c/main.ts ProjectRootPath: undefined -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* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -635,12 +618,10 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 4 *changed* -/user/username/projects/myproject/a/b/tsconfig.json (Configured) *changed* +/user/username/projects/myproject/a/b/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 *changed* - dirty: false *changed* - initialLoadPending: false *changed* - autoImportProviderHost: false *changed* + projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/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 392a50b9b90d7..ca87c138ec648 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 @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/app.ts", @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile1.ts 500 undefined WatchType: Closed Script info 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 621f1cdfd7aad..01e6892ce1411 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 073f4ba84e945..c25be01069eb4 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 cc948d05f6b79..7d2160106bc8d 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 c16d8f1ec234c..13544825859e3 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 f61ba20b110bd..4ae14e89aec5d 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 493d5fc0f738a..ed0261c3cbe77 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 @@ -69,16 +69,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -89,6 +79,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 c83a4711d6a2f..84f7d1c47a15d 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 448d04943534b..4cc7ec1e225a5 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 @@ -69,16 +69,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -89,6 +79,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 9b716f8a5cf03..41b7eec812351 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 7350c5130d339..9128e05e7dbb8 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 @@ -69,16 +69,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -89,6 +79,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 d3eae07960389..95c082d99316b 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 4033df34a5de3..ffe7363522e42 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 @@ -69,16 +69,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -89,6 +79,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 a4d883dd42efa..f5683739e62fb 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 056ed5dfdabb5..62f87948830d4 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 9e5e1d0864380..fed558044b8a4 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 591b3ebad00e0..8b91bd740ed66 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/someFile1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/someFile1.js" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/someFile1.js to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots 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 5dd76c9d38e28..463dc612fd326 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 @@ -55,16 +55,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/index.ts", @@ -80,6 +70,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { "configFilePath": "/home/src/projects/project/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/index.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/foo.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/shared.ts 500 undefined WatchType: Closed Script info @@ -249,16 +249,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/index.ts", @@ -274,6 +264,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "configFilePath": "/home/src/projects/project/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/index.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/foo.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b/node_modules/@types 1 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Type roots 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 462cb0c5db5a1..65f15d45c4a1f 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js @@ -173,16 +173,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/project1/index.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/project1/tsconfig.json, currentDirectory: /home/src/workspace/projects/project1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/project1/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/project1/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/project1/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/project1/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/project1/core.d.ts", @@ -205,6 +195,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/project1/tsconfig. "configFilePath": "/home/src/workspace/projects/project1/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/project1/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/project1/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1 1 undefined Config: /home/src/workspace/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1 1 undefined Config: /home/src/workspace/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/core.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config.js b/tests/baselines/reference/tsserver/libraryResolution/with-config.js index 651b6b609a586..b5e4387b118f0 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config.js @@ -134,16 +134,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspace/projects/project1/index.ts ProjectRootPath: undefined:: Result: /home/src/workspace/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspace/projects/project1/tsconfig.json, currentDirectory: /home/src/workspace/projects/project1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/tsconfig.json 2000 undefined Project: /home/src/workspace/projects/project1/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspace/projects/project1/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspace/projects/project1/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/project1/tsconfig.json : { "rootNames": [ "/home/src/workspace/projects/project1/core.d.ts", @@ -166,6 +156,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspace/projects/project1/tsconfig. "configFilePath": "/home/src/workspace/projects/project1/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspace/projects/project1/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspace/projects/project1/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1 1 undefined Config: /home/src/workspace/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1 1 undefined Config: /home/src/workspace/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/core.d.ts 500 undefined WatchType: Closed Script info 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 8edcc79fb7e14..a5e0c9aa299b8 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts" @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Enabling plugin myplugin from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. 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 658d87b67978c..af5373a43204f 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts" @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Enabling plugin myplugin from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. diff --git a/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js b/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js index 5803547c772b8..8e4a1d441333b 100644 --- a/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js +++ b/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts" @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Enabling plugin myplugin from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. diff --git a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js index 80632da09b874..474cf0ec354f4 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js @@ -168,16 +168,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/index.mts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/index.mts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/index.mts" @@ -191,6 +181,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/index.mts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'foo' from '/home/src/projects/project/index.mts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node16'. 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 a8c4330121c03..f251d52652acd 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 @@ -58,16 +58,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/src/tsconfig.json, currentDirectory: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/src/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/fileA.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/src/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/fileA.ts", @@ -81,6 +71,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/src/tsconfig. "configFilePath": "/user/username/projects/myproject/src/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/src/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/fileA.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/fileB.mts 500 undefined WatchType: Closed Script info 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 b13e93ef602be..46644fdcd5411 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 @@ -57,16 +57,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/src/tsconfig.json, currentDirectory: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/src/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/fileA.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/src/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/fileA.ts", @@ -80,6 +70,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/src/tsconfig. "configFilePath": "/user/username/projects/myproject/src/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/src/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/fileA.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/fileB.mts 500 undefined WatchType: Closed Script info 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 7bd064c40963a..b2b7741ab2490 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js +++ b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js @@ -316,16 +316,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/package-b/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/package-b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/package-b/tsconfig.json, currentDirectory: /home/src/projects/project/packages/package-b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/package-b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/package-b/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package-b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/package-b/src/index.ts" @@ -355,6 +345,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package-b/t } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/package-b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/package-b/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/src 1 undefined Config: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/src 1 undefined Config: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js index 8ee62271b2e2b..d1e4e16b143db 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js +++ b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js @@ -131,16 +131,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/package-b/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/package-b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/package-b/tsconfig.json, currentDirectory: /home/src/projects/project/packages/package-b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/package-b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/package-b/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package-b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/package-b/src/index.ts" @@ -170,6 +160,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package-b/t } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/package-b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/package-b/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/src 1 undefined Config: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/src 1 undefined Config: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json 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 716a320e09790..9334cd3fe6545 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 @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/a.ts", @@ -82,6 +72,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/ambient.d.ts 500 undefined WatchType: Closed Script info 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 82ca6181bf2ed..450920726ab91 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 @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/a.ts", @@ -82,6 +72,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/ambient.d.ts 500 undefined WatchType: Closed Script info 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 c7513eefe815f..9db84b70ae9a2 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 @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/a.ts", @@ -82,6 +72,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/ambient.d.ts 500 undefined WatchType: Closed Script info 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 184168f9d36f8..4a2c2a4eb171a 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 @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/a.ts", @@ -82,6 +72,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/ambient.d.ts 500 undefined WatchType: Closed Script info 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 deeaab41ed610..d18223a524030 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 @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/a.ts", @@ -82,6 +72,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/ambient.d.ts 500 undefined WatchType: Closed Script info 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 d44b38d2ccb1f..4980a73cfceec 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 @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/a.ts", @@ -82,6 +72,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/ambient.d.ts 500 undefined WatchType: Closed Script info 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 b27c7f36096e6..7c21770f79078 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 @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/a.ts", @@ -82,6 +72,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/ambient.d.ts 500 undefined WatchType: Closed Script info 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 3d4118bde906e..e6bda86c1e97e 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 @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/a.ts", @@ -82,6 +72,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/ambient.d.ts 500 undefined WatchType: Closed Script info 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 e661de7be43ad..992ded5e28b09 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 @@ -68,6 +68,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/index.ts" + ], + "options": { + "composite": true, + "configFilePath": "/home/src/projects/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -78,15 +87,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/index.ts" - ], - "options": { - "composite": true, - "configFilePath": "/home/src/projects/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/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 cf90eb4026fe5..a64ec13de5f29 100644 --- a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js +++ b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js @@ -55,6 +55,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/index.ts" + ], + "options": { + "composite": true, + "configFilePath": "/home/src/projects/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -65,15 +74,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/index.ts" - ], - "options": { - "composite": true, - "configFilePath": "/home/src/projects/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/index.ts" @@ -254,6 +244,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json 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 1098b436d9cc5..1118b19a8dd5f 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 @@ -37,16 +37,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/file1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/jsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/jsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/b/jsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/b/file1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/jsconfig.json : { "rootNames": [ "/home/src/projects/project/a/b/file1.js" @@ -60,6 +50,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/jsconfig.json : "configFilePath": "/home/src/projects/project/a/b/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/b/jsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/b/file1.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/jsconfig.json 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 23c79f6332a57..b70826970df66 100644 --- a/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js +++ b/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js @@ -38,16 +38,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/file1.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/jsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/jsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/b/jsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/b/file1.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/jsconfig.json : { "rootNames": [ "/home/src/projects/project/a/b/file1.js" @@ -61,6 +51,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/jsconfig.json : "configFilePath": "/home/src/projects/project/a/b/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/b/jsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/b/file1.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/jsconfig.json 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 fcec41d879237..7f990a91147b5 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/someuser/projects/myproject/src/a.ts ProjectRootPath: /user/someuser/projects/myproject:: Result: /user/someuser/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/someuser/projects/myproject/tsconfig.json, currentDirectory: /user/someuser/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/tsconfig.json 2000 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/someuser/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/someuser/projects/myproject/src/a.ts" + ], + "options": { + "configFilePath": "/user/someuser/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/someuser/projects/myproject/src/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/someuser/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/someuser/projects/myproject/src/a.ts" - ], - "options": { - "configFilePath": "/user/someuser/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json 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 f1fed3ed6551f..c7bad4fe04f58 100644 --- a/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a.ts", + "/home/src/projects/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a.ts", - "/home/src/projects/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info 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 19f18ef8888d4..52a29acc46b99 100644 --- a/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a.ts", + "/home/src/projects/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a.ts", - "/home/src/projects/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info 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 8717d0f690504..3bf51f325da06 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 @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a.ts", + "/home/src/projects/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a.ts", - "/home/src/projects/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info 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 a1190d6135ace..79919b62aedfc 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 @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a.ts", + "/home/src/projects/project/b.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a.ts", - "/home/src/projects/project/b.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info 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 20f9bc359b832..a26db136e8f9a 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 @@ -44,6 +44,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/src/app.ts ProjectRootPath: /home/src/projects/project/a:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/lib/module2.ts", + "/home/src/projects/project/a/b/src/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,15 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/src/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/lib/module2.ts", - "/home/src/projects/project/a/b/src/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/lib/module2.ts 500 undefined WatchType: Closed Script info 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 cc65a12f0119a..9ab208cd01aa5 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 @@ -44,6 +44,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/src/app.ts ProjectRootPath: /home/src/projects/project/a:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/src/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,14 +62,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/src/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/src/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json @@ -566,6 +566,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/B/lib/module2.ts ProjectRootPath: /home/src/projects/project/a:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/B/lib/module2.ts", + "/home/src/projects/project/a/b/src/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -576,15 +585,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/B/lib/module2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/B/lib/module2.ts", - "/home/src/projects/project/a/b/src/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json 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 e5229e6e6a033..abba24c36bea3 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 @@ -38,6 +38,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/someuser/projects/myproject/src/a.ts ProjectRootPath: /user/someuser/projects/myproject:: Result: /user/someuser/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/someuser/projects/myproject/tsconfig.json, currentDirectory: /user/someuser/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/tsconfig.json 2000 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/someuser/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/someuser/projects/myproject/src/a.ts" + ], + "options": { + "configFilePath": "/user/someuser/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -48,14 +56,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/someuser/projects/myproject/src/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/someuser/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/someuser/projects/myproject/src/a.ts" - ], - "options": { - "configFilePath": "/user/someuser/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json 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 ba9d766259fd5..e80668d0270e2 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 @@ -34,6 +34,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -44,12 +50,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.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 fc673033965d4..9749756908657 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 @@ -50,6 +50,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -60,12 +66,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json 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 19c8a4a52996c..78c579e97bff6 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 @@ -50,6 +50,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -60,12 +66,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json 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 3de8d1ebc42c8..a6888e12c7a42 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js @@ -37,6 +37,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,12 +53,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json 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 18f20eb1b2d26..7ccbffb367bb6 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 @@ -37,6 +37,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,12 +53,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/tsconfig.json to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js b/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js index 81e26bc0325b5..d0e4205ab1966 100644 --- a/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js +++ b/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js @@ -43,6 +43,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/target.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/file1.ts", + "/home/src/projects/project/a/target.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,15 +62,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/target.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/file1.ts", - "/home/src/projects/project/a/target.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/file1.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/plugins/With-global-plugins.js b/tests/baselines/reference/tsserver/plugins/With-global-plugins.js index e071da4a12d52..2dddec54aca4c 100644 --- a/tests/baselines/reference/tsserver/plugins/With-global-plugins.js +++ b/tests/baselines/reference/tsserver/plugins/With-global-plugins.js @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Loading global plugin @myscoped/plugin diff --git a/tests/baselines/reference/tsserver/plugins/With-local-plugins.js b/tests/baselines/reference/tsserver/plugins/With-local-plugins.js index 01a3f3f71d73f..8a63c369abf82 100644 --- a/tests/baselines/reference/tsserver/plugins/With-local-plugins.js +++ b/tests/baselines/reference/tsserver/plugins/With-local-plugins.js @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts" @@ -128,6 +118,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Enabling plugin @myscoped/plugin from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. 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 56f910d39c704..86861a9bf2e0a 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts" @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Enabling plugin some-plugin from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. 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 4c42a5897f200..5418b19a0a6e7 100644 --- a/tests/baselines/reference/tsserver/plugins/getSupportedCodeFixes-can-be-proxied.js +++ b/tests/baselines/reference/tsserver/plugins/getSupportedCodeFixes-can-be-proxied.js @@ -51,16 +51,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Enabling plugin myplugin from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. 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 1439072d7b64b..d426a2d134e9e 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a.ts" @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Enabling plugin some-plugin from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. 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 1e7041ef1fb24..65414e84a4bd1 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 @@ -51,16 +51,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a.ts", @@ -71,6 +61,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Loading global plugin myplugin 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 b2302ae2a3263..2ec85c38d15d3 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/a.ts" @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Enabling plugin some-plugin from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. diff --git a/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js b/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js index bac6381357351..9937c636869d8 100644 --- a/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js +++ b/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js @@ -48,6 +48,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/b.vue ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/a.ts" + ], + "options": { + "composite": true, + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -58,15 +67,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/b.vue to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/a.ts" - ], - "options": { - "composite": true, - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Loading global plugin myplugin diff --git a/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js b/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js index fa5923341b0c3..adae75c990ba6 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Loading global plugin plugin-a 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 682d66cc962a5..46a081d29a6d2 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json 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 6f5e76691c0fc..d9072d88d9f4f 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/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 7c5e519d77111..a198c4008d16c 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 @@ -42,6 +42,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -52,14 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/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 c942db79f7fca..1fc9a7a9ff526 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 @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/test.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/test.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 5deccf894f31f..19c2d01c7e9a0 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 @@ -45,6 +45,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/test.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -55,14 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/test.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 9721c2a23f3ca..b039d4f03d350 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 @@ -42,6 +42,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -52,14 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/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 e92059ef22395..0a2a0ac153b6f 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 @@ -40,16 +40,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/b/app.ts" @@ -64,6 +54,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/no-such-tsconfig.json : { "rootNames": [ 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 7d94b1853cb94..e7291adfa9b38 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 @@ -45,6 +45,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/app.ts", + "/home/src/projects/project/a/b/lib.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -55,15 +64,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/app.ts", - "/home/src/projects/project/a/b/lib.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 580e240638743..2c7e208d43841 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 @@ -45,6 +45,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/app.ts", + "/home/src/projects/project/a/b/lib.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -55,15 +64,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/app.ts", - "/home/src/projects/project/a/b/lib.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 bcb9b9a6b26fa..cb32bb4a37225 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 @@ -42,6 +42,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/app.ts", + "/home/src/projects/project/a/b/applib.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -52,15 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/app.ts", - "/home/src/projects/project/a/b/applib.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/applib.ts 500 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Missing file 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 d812f348d8b1c..a47d75aad83ce 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 @@ -55,6 +55,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/myproject/src/a.ts ProjectRootPath: undefined:: Result: /users/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/myproject/tsconfig.json, currentDirectory: /users/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/tsconfig.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/users/username/projects/myproject/src/a.ts" + ], + "options": { + "configFilePath": "/users/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -65,14 +73,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/myproject/src/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/users/username/projects/myproject/src/a.ts" - ], - "options": { - "configFilePath": "/users/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/src 1 undefined Config: /users/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/src 1 undefined Config: /users/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/tsconfig.json 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 07cf7dd08f3a1..eaf86278e82e8 100644 --- a/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js +++ b/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js @@ -37,6 +37,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a.ts" + ], + "options": { + "allowUnusedLabels": true, + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,15 +56,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a.ts" - ], - "options": { - "allowUnusedLabels": true, - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json 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 35174bfd3af59..17f867526693e 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/b/app.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/b/app.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root-with-declarationDir.js b/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root-with-declarationDir.js index a5e6523782df6..bc916c92d3fe8 100644 --- a/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root-with-declarationDir.js +++ b/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root-with-declarationDir.js @@ -46,16 +46,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/file.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/src/tsconfig.json, currentDirectory: /home/src/projects/project/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/tsconfig.json 2000 undefined Project: /home/src/projects/project/src/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/src/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/file.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/src/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/file.ts" @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/src/tsconfig.json : "configFilePath": "/home/src/projects/project/src/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/src/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/file.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root.js b/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root.js index 64b89dba5f36c..296055ec85611 100644 --- a/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root.js +++ b/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root.js @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/file.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/src/tsconfig.json, currentDirectory: /home/src/projects/project/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/tsconfig.json 2000 undefined Project: /home/src/projects/project/src/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/src/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/file.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/src/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/file.ts" @@ -65,6 +55,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/src/tsconfig.json : "configFilePath": "/home/src/projects/project/src/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/src/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/file.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js b/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js index e61d419e4805d..be9b94b76f0d5 100644 --- a/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js +++ b/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js @@ -48,16 +48,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/username/workspaces/project/src/a.ts ProjectRootPath: /home/username/workspaces/project:: Result: /home/username/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/username/workspaces/project/tsconfig.json, currentDirectory: /home/username/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/workspaces/project/tsconfig.json 2000 undefined Project: /home/username/workspaces/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/username/workspaces/project/tsconfig.json", - "reason": "Creating possible configured project for /home/username/workspaces/project/src/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/username/workspaces/project/tsconfig.json : { "rootNames": [ "/home/username/workspaces/project/src/a.ts", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /home/username/workspaces/project/tsconfig.json "configFilePath": "/home/username/workspaces/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/username/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/username/workspaces/project/src/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/workspaces/project/src 1 undefined Config: /home/username/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/username/workspaces/project/src 1 undefined Config: /home/username/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/workspaces/project/src/b.ts 500 undefined WatchType: Closed Script info 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 32ead970e0217..b30da8a4b2756 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 @@ -48,16 +48,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/projects/myproject/bar/app.ts ProjectRootPath: undefined:: Result: /a/b/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/b/projects/myproject/tsconfig.json, currentDirectory: /a/b/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/myproject/tsconfig.json 2000 undefined Project: /a/b/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/a/b/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /a/b/projects/myproject/bar/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /a/b/projects/myproject/tsconfig.json : { "rootNames": [ "/a/b/projects/myproject/bar/app.ts", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /a/b/projects/myproject/tsconfig.json : { "configFilePath": "/a/b/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/a/b/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /a/b/projects/myproject/bar/app.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/myproject/foo/foo.ts 500 undefined WatchType: Closed Script info 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 8fddde308b63d..43fa7f1088da6 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 @@ -38,6 +38,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/main.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -48,14 +56,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 63725dd898c54..00b05ea577d95 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 @@ -38,6 +38,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/main.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -48,14 +56,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 eb50abb949a8b..d6a9dd9136cb8 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 @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/test.ts", @@ -74,6 +64,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/blabla.json 500 undefined WatchType: Closed Script info 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 80c3f245b839c..1fe317f33dbb1 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 @@ -51,16 +51,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/test.ts" @@ -72,6 +62,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/when-options-change.js b/tests/baselines/reference/tsserver/projectErrors/when-options-change.js index 7e1072e19e2d2..f3db406e0d4e4 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-options-change.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-options-change.js @@ -43,16 +43,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/b/app.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/b/tsconfig.json, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a/b/app.ts" @@ -63,6 +53,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : "configFilePath": "/home/src/projects/project/a/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/b/app.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json 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 c7e6ea2188f1f..35bee2c47af96 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 @@ -38,6 +38,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/ui.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/ui.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -48,14 +56,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/ui.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/ui.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 3ba3d2ad8b49d..5d72c6aa736b6 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 @@ -38,6 +38,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/ui.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/ui.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -48,14 +56,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/ui.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/ui.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 177a271e1e413..b56664bc635d5 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 @@ -38,6 +38,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/ui.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/ui.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -48,14 +56,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/ui.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/ui.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 f9aeb5603c785..3130ae106a02e 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 @@ -189,16 +189,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/SiblingClass/Source.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/SiblingClass/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/SiblingClass/tsconfig.json, currentDirectory: /user/username/projects/myproject/SiblingClass Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/SiblingClass/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/SiblingClass/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/SiblingClass/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/SiblingClass/Source.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/SiblingClass/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/SiblingClass/Source.ts" @@ -217,6 +207,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/SiblingClass/ ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsbase.json 2000 undefined Config: /user/username/projects/myproject/SiblingClass/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/SiblingClass/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/SiblingClass/Source.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/SiblingClass/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/buttonClass/tsconfig.json : { "rootNames": [ 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 fa38a2d8a3f24..772d42ee4fa5b 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 ad8e74f23303d..2448d895a8c4b 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 6a740839ee0d4..81f9b90928062 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 d5be014e18fd5..84747b4759524 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 b3bc5dc7b9e39..473f94f6e48e8 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 356dcceb3297e..91d20a4e6aa03 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 a1657536e64cd..01810b601f195 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 ca9b9d3f68202..c50608a776b3e 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 73a52b1ad7a69..03413928025f4 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 dce4bd48e1558..babd9500e4cbb 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 731efaa80260e..ca816f27ecc1d 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 1c1ecbd9afbf6..220b98656ee22 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 e52dac2f5fa09..881929f2b03ec 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 71f271c5a7e31..757916d3a43f3 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js index cba12bf7671f1..364b24e8f8951 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 10cfe8b3d2a49..31e04c313388a 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 9270269ec3890..48cc536c43207 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 9fcd312f18575..cde38584b89df 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 268d9e68f20d7..d27ee391ea056 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 f3d9e3e57e385..d5e7dd987f091 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 7a73098d08261..a76d4dff74da9 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 e13dc3698b218..40b9de5b9b508 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 db6486b01ad74..b0ce879dcdfae 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 b80105e45630d..ab162807019a6 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js index 00af9b2e1a415..acf6f53a71702 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 5cfedcc26dc5f..02cce2a299cbf 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 20137a0e46fbf..ea0c112ef0a14 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 e6c1b1786aea2..a418323b96d88 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 405372d8d6ed0..b01e580b076fa 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 70da6d0d7caf7..9f08d8c32bebd 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 dbe363461cbe4..391c89b2ef708 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 4475ea2752433..dda4f87148ece 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 3dc6f008ddbe5..630e44549745b 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 6ea9e22bc655c..e64bec6f23bbc 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 962021a931c7f..386b31e75f503 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 f1d218956cbf2..90523cce9a05d 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 4a0c52f170ee6..663faa582995f 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 7752bebabf513..ef8d0d57bce65 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 ed3992563ec6f..03ad36901cb94 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 edcf1b84adf9b..ae195dd26208d 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 4bcd55b344094..c1923e87d41c1 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 033e90244153f..ae01099634002 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 931823a3aabd0..47378daa3d0d2 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 76db66a8134d7..3d5309ab92bd6 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 2b410085c4364..5c9aa2663cb4a 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js b/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js index 2d3bf3cfb811b..c84eeb72c2552 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js @@ -73,16 +73,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/b/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/b/tsconfig.json, currentDirectory: /home/src/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/b/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/b/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { "rootNames": [ "/home/src/projects/project/b/index.ts" @@ -100,6 +90,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/b/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/b/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/b/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Config: /home/src/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json 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 19fe3f9a21ff7..eca147ba85e49 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -95,6 +85,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 e50a84f2f7a37..82e80a65e70e9 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -95,6 +85,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 097da95aee9be..f5ee61414ed66 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -95,6 +85,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 b54e0e1c82adf..096b875d923ad 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -95,6 +85,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 19e04d530c030..07b44179fe891 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -95,6 +85,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 0cbc8fbc7d844..bf80b588c303c 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -95,6 +85,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 5d21120fbc078..fe0b9e4958f49 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 @@ -66,16 +66,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 294396f401bac..9f08cb34752bb 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 @@ -66,16 +66,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 52689b7a5b89a..5bbb15be613e7 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 @@ -66,16 +66,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 e1ca9cf95137a..6485607a3a599 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 @@ -66,16 +66,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 c096fe9e32fc4..1a9c87839734a 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 @@ -66,16 +66,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 43a632abc98db..119559678dadb 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 @@ -66,16 +66,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/usage/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/usage/tsconfig.json, currentDirectory: /user/username/projects/myproject/usage Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/usage/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/usage/usage.ts" @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/usage/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/usage/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json 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 99d3b23959c3a..c90d7034f1c1a 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 @@ -234,16 +234,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/container/compositeExec/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/container/compositeExec/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/container/compositeExec/tsconfig.json, currentDirectory: /user/username/projects/container/compositeExec 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/compositeExec/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/container/compositeExec/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/compositeExec/tsconfig.json : { "rootNames": [ "/user/username/projects/container/compositeExec/index.ts" @@ -261,6 +251,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/compositeExec } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/container/compositeExec/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/container/compositeExec/index.ts to open" + } + } 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": [ @@ -664,7 +664,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/container/lib/tsconfig.json", + "triggerFile": "/user/username/projects/container/lib/index.ts", "configFile": "/user/username/projects/container/lib/tsconfig.json", "diagnostics": [] } 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 dde82468c9faa..8bc8e031f22c8 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 @@ -242,16 +242,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/app/src/program/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/app/src/program/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/app/src/program/tsconfig.json, currentDirectory: /user/username/projects/myproject/app/src/program Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/app/src/program/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/app/src/program/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app/src/program/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/app/src/program/bar.ts", @@ -270,6 +260,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app/src/progr } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/app/src/program/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/app/src/program/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 1 undefined Config: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 1 undefined Config: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/bar.ts 500 undefined WatchType: Closed Script info 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 b745e7f16834a..4843a7d8961a4 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 @@ -241,16 +241,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/app/src/program/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/app/src/program/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/app/src/program/tsconfig.json, currentDirectory: /user/username/projects/myproject/app/src/program Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/app/src/program/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/app/src/program/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app/src/program/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/app/src/program/bar.ts", @@ -268,6 +258,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app/src/progr } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/app/src/program/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/app/src/program/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 1 undefined Config: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 1 undefined Config: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/bar.ts 500 undefined WatchType: Closed Script info 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 7af1455b744a6..fd0e21b4c3272 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 @@ -84,16 +84,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/app/src/program/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/app/src/program/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/app/src/program/tsconfig.json, currentDirectory: /user/username/projects/myproject/app/src/program Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/app/src/program/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/app/src/program/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app/src/program/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/app/src/program/bar.ts", @@ -111,6 +101,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/app/src/progr } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/app/src/program/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/app/src/program/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 1 undefined Config: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 1 undefined Config: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/bar.ts 500 undefined WatchType: Closed Script info 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 ba84ed3ed5248..a17c98886c90f 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 @@ -231,16 +231,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/container/compositeExec/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/container/compositeExec/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/container/compositeExec/tsconfig.json, currentDirectory: /user/username/projects/container/compositeExec 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/compositeExec/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/container/compositeExec/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/compositeExec/tsconfig.json : { "rootNames": [ "/user/username/projects/container/compositeExec/index.ts" @@ -258,6 +248,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/compositeExec } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/container/compositeExec/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/container/compositeExec/index.ts to open" + } + } 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": [ @@ -538,7 +538,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/container/lib/tsconfig.json", + "triggerFile": "/user/username/projects/container/lib/index.ts", "configFile": "/user/username/projects/container/lib/tsconfig.json", "diagnostics": [] } 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 e6c375d5d8973..74b3a0b52ca7d 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 @@ -156,16 +156,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -182,7 +172,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ "/user/username/projects/myproject/indirect1/main.ts" @@ -202,21 +191,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indirect2.json : { "rootNames": [ "/user/username/projects/myproject/indirect2/main.ts" @@ -235,76 +209,21 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "4a33d78ee40d836c4f4e64c59aed976628aea0013be9585c5ff171dfc41baf98", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "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": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { + "rootNames": [ + "/user/username/projects/myproject/src/main.ts", + "/user/username/projects/myproject/src/helpers/functions.ts" + ], + "options": { + "composite": true, + "outDir": "/user/username/projects/myproject/target", + "baseUrl": "/user/username/projects/myproject/src", + "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-src.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] event: { @@ -405,9 +324,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -461,7 +379,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -516,7 +436,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -588,7 +508,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -622,7 +544,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -692,7 +614,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true *changed* ScriptInfos:: @@ -730,7 +654,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspa Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -804,7 +728,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true ScriptInfos:: @@ -847,18 +773,12 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferre 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) -Info seq [hh:mm:ss:mss] Files (0) - - +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -960,7 +880,9 @@ Projects:: autoImportProviderHost: undefined *changed* /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true isClosed: true *changed* noOpenRef: true @@ -998,16 +920,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -1024,7 +936,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ "/user/username/projects/myproject/indirect1/main.ts" @@ -1044,21 +955,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indirect2.json : { "rootNames": [ "/user/username/projects/myproject/indirect2/main.ts" @@ -1077,35 +973,21 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { + "rootNames": [ + "/user/username/projects/myproject/src/main.ts", + "/user/username/projects/myproject/src/helpers/functions.ts" + ], + "options": { + "composite": true, + "outDir": "/user/username/projects/myproject/target", + "baseUrl": "/user/username/projects/myproject/src", + "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-src.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] event: { @@ -1160,9 +1042,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1233,7 +1114,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -1270,20 +1153,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-s Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -1300,7 +1169,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ "/user/username/projects/myproject/indirect1/main.ts" @@ -1319,18 +1187,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi } ] } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indirect2.json : { "rootNames": [ "/user/username/projects/myproject/indirect2/main.ts" @@ -1348,35 +1204,18 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi } ] } -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { + "rootNames": [ + "/user/username/projects/myproject/src/main.ts", + "/user/username/projects/myproject/src/helpers/functions.ts" + ], + "options": { + "composite": true, + "outDir": "/user/username/projects/myproject/target", + "baseUrl": "/user/username/projects/myproject/src", + "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" + } +} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1433,14 +1272,13 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1476,7 +1314,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1494,7 +1332,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.t 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1525,9 +1363,9 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/projects/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/workspaces/dummy/jsconfig.json: {"pollingInterval":2000} /user/username/workspaces/dummy/node_modules/@types: @@ -1538,6 +1376,10 @@ PolledWatches:: {"pollingInterval":500} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} /user/username/workspaces/dummy/node_modules/@types: {"pollingInterval":500} /user/username/workspaces/node_modules/@types: @@ -1571,6 +1413,8 @@ Projects:: projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true 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 e3f3e84269e3c..1bfcd86847432 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 @@ -131,16 +131,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -153,7 +143,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ "/user/username/projects/myproject/indirect1/main.ts" @@ -173,208 +162,49 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "4a33d78ee40d836c4f4e64c59aed976628aea0013be9585c5ff171dfc41baf98", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "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": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-indirect1.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-indirect1.json", - "reason": "Creating project referenced in solution /user/username/projects/myproject/tsconfig.json to find possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject/src +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +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: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] 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] 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 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) +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/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/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/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/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] 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] 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* projectStateVersion: 1 projectProgramVersion: 0 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" - /user/username/projects/myproject/indirect1/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - src/helpers/functions.ts - Imported via 'helpers/functions' from file 'src/main.ts' - src/main.ts - Imported via 'main' from file 'indirect1/main.ts' - indirect1/main.ts - Part of 'files' list in tsconfig.json + main.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-indirect1.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "9ccc3aed1af08832ccb25ea453f7b771199f56af238b53cc428549dbd2d59246", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 134, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "", - "baseUrl": "", - "disableReferencedProjectLoad": true - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": true, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "other", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig-indirect1.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-indirect1.json ProjectRootPath: undefined:: Result: undefined 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] Files (0) InitialLoadPending 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] 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-indirect1.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -389,61 +219,60 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules: *new* + {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules: *new* + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/src/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/node_modules: *new* + {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} -/user/username/projects/myproject/indirect1/main.ts: *new* - {} -/user/username/projects/myproject/src/helpers/functions.ts: *new* - {} /user/username/projects/myproject/tsconfig-indirect1.json: *new* {} -/user/username/projects/myproject/tsconfig-src.json: *new* - {} /user/username/projects/myproject/tsconfig.json: *new* {} -FsWatchesRecursive:: -/user/username/projects/myproject/src: *new* - {} - Projects:: -/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* +/dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true + noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/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 + /dev/null/inferredProject1* /user/username/projects/myproject/src/main.ts (Open) *new* version: SVC-1-0 containingProjects: 1 - /user/username/projects/myproject/tsconfig-indirect1.json *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: getDefaultProjectForFile: - /user/username/projects/myproject/tsconfig-indirect1.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /user/username/projects/myproject/tsconfig-indirect1.json + undefined Before request Info seq [hh:mm:ss:mss] request: @@ -456,16 +285,16 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/workspaces/dummy +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/workspaces/dummy Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/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] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/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/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/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/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -477,23 +306,25 @@ 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] `remove Project:: 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] Files (0) InitialLoadPending 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +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/inferredProject1*' (Inferred) +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] 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-indirect1.json -Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -508,8 +339,22 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/node_modules: + {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} /user/username/workspaces/dummy/jsconfig.json: *new* @@ -524,56 +369,44 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject/indirect1/main.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} /user/username/projects/myproject/tsconfig.json: {} -FsWatchesRecursive:: -/user/username/projects/myproject/src: +FsWatches *deleted*:: +/user/username/projects/myproject/tsconfig-indirect1.json: {} Projects:: -/dev/null/inferredProject1* (Inferred) *new* +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/tsconfig-indirect1.json (Configured) +/dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* - /user/username/projects/myproject/tsconfig-indirect1.json - /dev/null/inferredProject1* *new* -/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 + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* /user/username/projects/myproject/src/main.ts (Open) version: SVC-1-0 containingProjects: 1 - /user/username/projects/myproject/tsconfig-indirect1.json *default* + /dev/null/inferredProject1* *default* /user/username/workspaces/dummy/dummy.ts (Open) *new* version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject1* *default* + /dev/null/inferredProject2* *default* Before request @@ -586,22 +419,22 @@ Info seq [hh:mm:ss:mss] request: "seq": 3, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +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/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info -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] 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/inferredProject1*' (Inferred) +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] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -613,8 +446,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules: + {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} /user/username/workspaces/dummy/jsconfig.json: @@ -626,64 +467,51 @@ PolledWatches:: /user/username/workspaces/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} + FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject/indirect1/main.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} /user/username/projects/myproject/src/main.ts: *new* {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} -FsWatchesRecursive:: -/user/username/projects/myproject/src: +FsWatches *deleted*:: +/user/username/projects/myproject/tsconfig.json: {} Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* autoImportProviderHost: false -/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *changed* +/dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: true *changed* autoImportProviderHost: false -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 - /user/username/projects/myproject/tsconfig-indirect1.json /dev/null/inferredProject1* -/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 + /dev/null/inferredProject2* /user/username/projects/myproject/src/main.ts *changed* open: false *changed* version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig-indirect1.json + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* /user/username/workspaces/dummy/dummy.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject1* *default* + /dev/null/inferredProject2* *default* Before request @@ -699,15 +527,11 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info -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] 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/inferredProject1*' (Inferred) +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] ----------------------------------------------- @@ -723,8 +547,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules: + {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} /user/username/workspaces/dummy/node_modules/@types: @@ -741,65 +573,39 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject/indirect1/main.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} /user/username/projects/myproject/src/main.ts: {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} /user/username/workspaces/dummy/dummy.ts: *new* {} -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isOrphan: true + autoImportProviderHost: false +/dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 dirty: true *changed* isOrphan: true *changed* autoImportProviderHost: false -/user/username/projects/myproject/tsconfig-indirect1.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true - autoImportProviderHost: false -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 - /user/username/projects/myproject/tsconfig-indirect1.json /dev/null/inferredProject1* -/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 + /dev/null/inferredProject2* /user/username/projects/myproject/src/main.ts version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig-indirect1.json + containingProjects: 0 /user/username/workspaces/dummy/dummy.ts *changed* open: false *changed* version: SVC-1-0 containingProjects: 0 *changed* - /dev/null/inferredProject1* *deleted* + /dev/null/inferredProject2* *deleted* Before request @@ -816,58 +622,42 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspa Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/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* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +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 '/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] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] `remove Project:: -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] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - /user/username/projects/myproject/indirect1/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - src/helpers/functions.ts - Imported via 'helpers/functions' from file 'src/main.ts' - src/main.ts - Imported via 'main' from file 'indirect1/main.ts' - indirect1/main.ts - Part of 'files' list in tsconfig.json + main.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/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/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +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] DirectoryWatcher:: Close:: WatchInfo: /user/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: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +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] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -892,8 +682,16 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules: + {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -902,67 +700,40 @@ FsWatches:: {} FsWatches *deleted*:: -/user/username/projects/myproject/indirect1/main.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} /user/username/projects/myproject/src/main.ts: {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} /user/username/workspaces/dummy/dummy.ts: {} -FsWatchesRecursive *deleted*:: -/user/username/projects/myproject/src: - {} - Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 - dirty: false *changed* - isOrphan: false *changed* - autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 + dirty: true isClosed: true *changed* - noOpenRef: true + isOrphan: true autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true + dirty: false *changed* + isOrphan: false *changed* + autoImportProviderHost: undefined *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* - /dev/null/inferredProject1* - /user/username/projects/myproject/tsconfig-indirect1.json *deleted* -/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* + /dev/null/inferredProject2* + /dev/null/inferredProject1* *deleted* /user/username/projects/myproject/src/main.ts *deleted* version: SVC-1-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/tsconfig-indirect1.json *deleted* + containingProjects: 0 /user/username/workspaces/dummy/dummy.ts (Open) *changed* open: true *changed* version: SVC-1-0 containingProjects: 1 *changed* - /dev/null/inferredProject1* *default* *new* + /dev/null/inferredProject2* *default* *new* Before request @@ -978,16 +749,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -1000,7 +761,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ "/user/username/projects/myproject/indirect1/main.ts" @@ -1020,126 +780,54 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-indirect1.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-indirect1.json", - "reason": "Creating project referenced in solution /user/username/projects/myproject/tsconfig.json to find possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] 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] 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 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) +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject3*, currentDirectory: /user/username/projects/myproject/src +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +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/inferredProject3* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* 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/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/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/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] 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] 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* 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - src/helpers/functions.ts - Imported via 'helpers/functions' from file 'src/main.ts' - src/main.ts - Imported via 'main' from file 'indirect1/main.ts' - indirect1/main.ts - Part of 'files' list in tsconfig.json + main.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-indirect1.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig-indirect1.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-indirect1.json ProjectRootPath: undefined:: Result: undefined 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] Files (0) InitialLoadPending 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] 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/inferredProject1*' (Inferred) +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: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +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: /user/username/projects/myproject/tsconfig-indirect1.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1154,8 +842,22 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules: *new* + {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules: *new* + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/src/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/node_modules: *new* + {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} /user/username/workspaces/dummy/jsconfig.json: @@ -1170,55 +872,40 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject/indirect1/main.ts: *new* - {} -/user/username/projects/myproject/src/helpers/functions.ts: *new* - {} /user/username/projects/myproject/tsconfig-indirect1.json: *new* {} -/user/username/projects/myproject/tsconfig-src.json: *new* - {} /user/username/projects/myproject/tsconfig.json: *new* {} -FsWatchesRecursive:: -/user/username/projects/myproject/src: *new* - {} - Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject2* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* +/dev/null/inferredProject3* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true + noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* - /dev/null/inferredProject1* - /user/username/projects/myproject/tsconfig-indirect1.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/src/helpers/functions.ts *new* - version: Text-2 - containingProjects: 1 - /user/username/projects/myproject/tsconfig-indirect1.json + /dev/null/inferredProject2* + /dev/null/inferredProject3* *new* /user/username/projects/myproject/src/main.ts (Open) *new* version: SVC-2-0 containingProjects: 1 - /user/username/projects/myproject/tsconfig-indirect1.json *default* + /dev/null/inferredProject3* *default* /user/username/workspaces/dummy/dummy.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject1* *default* + /dev/null/inferredProject2* *default* Before request @@ -1229,29 +916,11 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] reload projects. -Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-indirect1.json +Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-indirect1.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-indirect1.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -1264,7 +933,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ "/user/username/projects/myproject/indirect1/main.ts" @@ -1283,136 +951,48 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi } ] } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-indirect1.json", - "reason": "User requested reload projects: Creating project referenced in solution /user/username/projects/myproject/tsconfig.json to find possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] 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] 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 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" - /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - src/helpers/functions.ts - Imported via 'helpers/functions' from file 'src/main.ts' - src/main.ts - Imported via 'main' from file 'indirect1/main.ts' - indirect1/main.ts - 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": "/user/username/projects/myproject/tsconfig-indirect1.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig-indirect1.json", - "configFile": "/user/username/projects/myproject/tsconfig-indirect1.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-indirect1.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* 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/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] Files (0) InitialLoadPending 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] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) NoProgram Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +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: /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] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/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/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -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] Projects: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/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/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -1423,43 +1003,69 @@ Info seq [hh:mm:ss:mss] Files (2) dummy.ts Root file specified for compilation +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* 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/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/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/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] 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] 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* 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + main.ts + Root file specified for compilation + Info seq [hh:mm:ss:mss] ----------------------------------------------- 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending 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] 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/inferredProject1*' (Inferred) +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: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +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: /user/username/projects/myproject/tsconfig-indirect1.json +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] Files (0) InitialLoadPending 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] 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/inferredProject1*' (Inferred) +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: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +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: /user/username/projects/myproject/tsconfig-indirect1.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1474,10 +1080,24 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} *new* /user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules: + {"pollingInterval":500} *new* +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} *new* +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/node_modules: + {"pollingInterval":500} *new* /user/username/projects/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/workspaces/dummy/jsconfig.json: {"pollingInterval":2000} /user/username/workspaces/dummy/node_modules/@types: @@ -1488,6 +1108,18 @@ PolledWatches:: {"pollingInterval":500} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} /user/username/workspaces/dummy/node_modules/@types: {"pollingInterval":500} /user/username/workspaces/node_modules/@types: @@ -1496,31 +1128,24 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject/indirect1/main.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} /user/username/projects/myproject/tsconfig-indirect1.json: {} -/user/username/projects/myproject/tsconfig-src.json: - {} /user/username/projects/myproject/tsconfig.json: {} -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Timeout callback:: count: 0 Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 *changed* -/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *changed* +/dev/null/inferredProject3* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true + noOpenRef: true 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 bc4a54577db6c..d28c97b7c8ebf 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 @@ -111,16 +111,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -134,94 +124,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "4a33d78ee40d836c4f4e64c59aed976628aea0013be9585c5ff171dfc41baf98", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 0, - "tsSize": 0, - "tsx": 0, - "tsxSize": 0, - "dts": 0, - "dtsSize": 0, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "disableReferencedProjectLoad": true - }, - "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": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -255,7 +157,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -301,15 +203,9 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} -/user/username/projects/myproject/tsconfig-src.json: *new* - {} /user/username/projects/myproject/tsconfig.json: *new* {} -FsWatchesRecursive:: -/user/username/projects/myproject/src: *new* - {} - Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 @@ -317,7 +213,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true ScriptInfos:: @@ -370,18 +268,9 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -442,14 +331,6 @@ FsWatches:: /user/username/projects/myproject/tsconfig.json: {} -FsWatches *deleted*:: -/user/username/projects/myproject/tsconfig-src.json: - {} - -FsWatchesRecursive *deleted*:: -/user/username/projects/myproject/src: - {} - Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 @@ -461,7 +342,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true isClosed: true *changed* noOpenRef: true @@ -821,16 +704,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -844,51 +717,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject3*, currentDirectory: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -921,7 +749,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -981,15 +809,9 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject/tsconfig-src.json: *new* - {} /user/username/projects/myproject/tsconfig.json: *new* {} -FsWatchesRecursive:: -/user/username/projects/myproject/src: *new* - {} - Projects:: /dev/null/inferredProject2* (Inferred) projectStateVersion: 2 @@ -1000,7 +822,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true ScriptInfos:: @@ -1032,20 +856,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -1059,48 +869,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -1120,7 +888,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/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -1182,7 +950,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -1200,7 +968,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.t 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -1235,7 +1003,7 @@ PolledWatches:: /user/username/projects/myproject/node_modules: {"pollingInterval":500} *new* /user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: @@ -1247,7 +1015,7 @@ PolledWatches:: /user/username/projects/node_modules: {"pollingInterval":500} *new* /user/username/projects/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/workspaces/dummy/jsconfig.json: {"pollingInterval":2000} /user/username/workspaces/dummy/node_modules/@types: @@ -1260,12 +1028,16 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/node_modules: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} /user/username/projects/myproject/src/node_modules: {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules: {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} /user/username/workspaces/dummy/node_modules/@types: {"pollingInterval":500} /user/username/workspaces/node_modules/@types: @@ -1274,15 +1046,9 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject/tsconfig-src.json: - {} /user/username/projects/myproject/tsconfig.json: {} -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Timeout callback:: count: 0 Projects:: @@ -1293,7 +1059,9 @@ Projects:: projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true 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 407c71316b48a..07a74e1857038 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -102,6 +92,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 61f69bda82799..3db66d746f02b 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 @@ -87,16 +87,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -114,6 +104,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 0a2b34fb2b9db..f9a472217b455 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -102,6 +92,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 91f70161b3291..2a912b9f3e4c0 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 @@ -87,16 +87,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -114,6 +104,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 3cac5fd5c118e..9fb6fa2a58525 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -102,6 +92,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 80d73bfe3b442..f1f260d873f78 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 @@ -87,16 +87,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -114,6 +104,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 beeb4eefb9eb9..ed8917fe655b8 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -102,6 +92,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 c971d072d9fad..4643e0b1da747 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 @@ -87,16 +87,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -114,6 +104,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 2c5dd5fba64d0..4318da9b6831e 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -102,6 +92,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 0015d6cc5dec9..b8960c293c128 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 @@ -87,16 +87,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -114,6 +104,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 b4175b7e7a15d..c9d596f643855 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -102,6 +92,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 aa5a132d60d25..dbe027c9be00b 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 @@ -87,16 +87,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -114,6 +104,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 bf3580098258a..ef097674b11a5 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -102,6 +92,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json 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 90ff689758c11..50b15ea7e2ce2 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 @@ -87,16 +87,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -114,6 +104,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json @@ -403,7 +403,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/b/tsconfig.json", + "triggerFile": "/user/username/projects/myproject/b/index.ts", "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [] } 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 99edc1a2e3958..89deafb37fc4b 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 @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -102,6 +92,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json @@ -389,7 +389,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/b/tsconfig.json", + "triggerFile": "/user/username/projects/myproject/b/index.ts", "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [] } 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 50e94efd817ef..942e881bf8c21 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 @@ -87,16 +87,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/a/tsconfig.json, currentDirectory: /user/username/projects/myproject/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/a/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/a/index.ts" @@ -114,6 +104,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/a/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/a/index.ts to open" + } + } 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] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json @@ -401,7 +401,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/b/tsconfig.json", + "triggerFile": "/user/username/projects/myproject/b/index.ts", "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [] } 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 similarity index 99% rename from tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js rename to tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor-sibling-projects.js index 187303f5a09f9..416cab1312765 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 @@ -95,16 +95,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/solution/compiler/program.ts ProjectRootPath: undefined:: Result: /user/username/projects/solution/compiler/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/solution/compiler/tsconfig.json, currentDirectory: /user/username/projects/solution/compiler Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/compiler/tsconfig.json 2000 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/solution/compiler/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/solution/compiler/program.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/compiler/tsconfig.json : { "rootNames": [ "/user/username/projects/solution/compiler/types.ts", @@ -116,6 +106,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/compiler/tscon "configFilePath": "/user/username/projects/solution/compiler/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/solution/compiler/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/solution/compiler/program.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/compiler/types.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/compiler/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 85a50e1c295b9..9a26f7be98059 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 @@ -137,16 +137,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/solution/b/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/solution/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/solution/b/tsconfig.json, currentDirectory: /user/username/projects/solution/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/b/tsconfig.json 2000 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/solution/b/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/solution/b/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/b/tsconfig.json : { "rootNames": [ "/user/username/projects/solution/b/index.ts" @@ -162,6 +152,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/b/tsconfig.jso } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/solution/b/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/solution/b/index.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/b/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/a/tsconfig.json : { "rootNames": [ @@ -450,7 +450,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/solution/a/tsconfig.json", + "triggerFile": "/user/username/projects/solution/a/index.ts", "configFile": "/user/username/projects/solution/a/tsconfig.json", "diagnostics": [] } 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 eba2646a7bdff..b8144bec39c27 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 @@ -251,16 +251,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/index.ts" @@ -279,6 +269,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 b82e339eea8b3..0df51c65a5f6b 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 @@ -239,16 +239,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/index.ts" @@ -266,6 +256,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 7b9cc21da5848..75e32ba43e4c3 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 @@ -83,16 +83,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/index.ts" @@ -111,6 +101,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 ca7f68cc08aed..109640f93e7da 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 @@ -81,16 +81,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/index.ts" @@ -108,6 +98,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 418b32e77f91d..2ab391b70341a 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 @@ -251,16 +251,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/index.ts" @@ -279,6 +269,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 6ffd85dbe4d0b..560239f87f7d6 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 @@ -239,16 +239,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/index.ts" @@ -266,6 +256,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 15962725da590..5ec7c06c40c33 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 @@ -83,16 +83,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/index.ts" @@ -111,6 +101,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 ed367418cf82c..18b1cff132899 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 @@ -81,16 +81,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/index.ts" @@ -108,6 +98,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 e6d4e3f374928..2c46ee4a2b88c 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 @@ -248,16 +248,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/test.ts" @@ -276,6 +266,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 3681e7f734485..e5c8fc949b57a 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 @@ -236,16 +236,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/test.ts" @@ -263,6 +253,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 0363f3f583344..9fd74be2d6f76 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 @@ -80,16 +80,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/test.ts" @@ -108,6 +98,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 2e8640f3be477..b13ddb4e9d149 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 @@ -78,16 +78,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/test.ts" @@ -105,6 +95,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 40604dd2eee76..51f6179b7c80f 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 @@ -248,16 +248,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/test.ts" @@ -276,6 +266,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 4911c2bb60cf7..97ba905391df5 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 @@ -236,16 +236,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/test.ts" @@ -263,6 +253,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 4187f1a9a5b4c..d122b2a0d992b 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 @@ -80,16 +80,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/test.ts" @@ -108,6 +98,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 266632e4143a3..78b42dafda25d 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 @@ -78,16 +78,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/A/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/A/src/test.ts" @@ -105,6 +95,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/A/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/A/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/A/src/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Config: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json 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 3891f346750a2..3038e196e4008 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 @@ -65,16 +65,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/projects/project2/tsconfig.json, currentDirectory: /user/username/projects/myproject/projects/project2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/projects/project2/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/projects/project2/class2.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/projects/project2/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/projects/project2/class2.ts" @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/projects/proj } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/projects/project2/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/projects/project2/class2.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Config: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Config: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -727,6 +727,7 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/projects/p Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms 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] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.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] Invoking sourceFileChange on /user/username/projects/myproject/projects/project1/class3.d.ts:: 1 Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 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 2aa12ff239301..aa5b818754363 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/projects/project2/tsconfig.json, currentDirectory: /user/username/projects/myproject/projects/project2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/projects/project2/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/projects/project2/class2.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/projects/project2/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/projects/project2/class2.ts" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/projects/proj } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/projects/project2/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/projects/project2/class2.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Config: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Config: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json 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 4a2f7f6db6720..fd27446a15b45 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 @@ -65,16 +65,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/projects/project2/tsconfig.json, currentDirectory: /user/username/projects/myproject/projects/project2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/projects/project2/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/projects/project2/class2.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/projects/project2/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/projects/project2/class2.ts" @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/projects/proj } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/projects/project2/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/projects/project2/class2.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Config: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Config: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -1057,6 +1057,7 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/projects/p Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms 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] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.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] Invoking sourceFileChange on /user/username/projects/myproject/projects/project1/class3.d.ts:: 1 Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 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 0df1e8c8c33ed..f898c33029e0e 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/projects/project2/tsconfig.json, currentDirectory: /user/username/projects/myproject/projects/project2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/projects/project2/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/projects/project2/class2.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/projects/project2/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/projects/project2/class2.ts" @@ -90,6 +80,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/projects/proj } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/projects/project2/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/projects/project2/class2.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Config: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Config: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json 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 e005b03bfcaaa..4acd81dcef206 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 @@ -108,16 +108,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -130,7 +120,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-src.json : { "rootNames": [ "/user/username/projects/myproject/src/main.ts", @@ -146,76 +135,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "4a33d78ee40d836c4f4e64c59aed976628aea0013be9585c5ff171dfc41baf98", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "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": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-src.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] event: { @@ -316,9 +235,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -368,7 +286,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -512,7 +432,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -580,7 +500,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -614,7 +536,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -680,7 +602,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true *changed* ScriptInfos:: @@ -718,7 +642,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspa Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -788,7 +712,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true ScriptInfos:: @@ -831,16 +757,10 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferre 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) -Info seq [hh:mm:ss:mss] Files (0) - - +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -938,7 +858,9 @@ Projects:: autoImportProviderHost: undefined *changed* /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true isClosed: true *changed* noOpenRef: true @@ -976,16 +898,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -998,7 +910,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-src.json : { "rootNames": [ "/user/username/projects/myproject/src/main.ts", @@ -1014,35 +925,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-src.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] event: { @@ -1097,9 +979,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1166,7 +1047,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -1202,7 +1085,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspa Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1270,7 +1153,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1311,7 +1196,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred 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) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1384,7 +1269,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1421,7 +1308,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspa Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1489,7 +1376,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1512,17 +1401,14 @@ ScriptInfos:: /dev/null/inferredProject1* *deleted* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig-src.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* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -2: /user/username/projects/myproject/tsconfig.json -3: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig-src.json] deleted -Timeout callback:: count: 2 -2: /user/username/projects/myproject/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -1536,62 +1422,17 @@ Projects:: isOrphan: true *changed* deferredClose: true *changed* autoImportProviderHost: undefined *changed* -/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] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/indirect3/main.ts", - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts", - "/user/username/projects/myproject/target/src/main.d.ts", - "/user/username/projects/myproject/target/src/helpers/functions.d.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -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) +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [ - { - "start": { - "line": 3, - "offset": 5 - }, - "end": { - "line": 5, - "offset": 6 - }, - "text": "File '/user/username/projects/myproject/tsconfig-src.json' not found.", - "code": 6053, - "category": "error", - "fileName": "/user/username/projects/myproject/tsconfig.json" - } - ] - } - } +Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1605,6 +1446,9 @@ 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] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1645,7 +1489,7 @@ Info seq [hh:mm:ss:mss] Files (0) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1734,9 +1578,10 @@ Projects:: noOpenRef: true *changed* deferredClose: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 2 *changed* - dirty: false *changed* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true *changed* ScriptInfos:: @@ -1760,14 +1605,12 @@ ScriptInfos:: containingProjects: 0 Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.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: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -4: /user/username/projects/myproject/tsconfig.json -5: /user/username/projects/myproject/tsconfig-src.json -6: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 2 +3: /user/username/projects/myproject/tsconfig-src.json +4: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig-src.json] { "compilerOptions": { @@ -1781,10 +1624,9 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -4: /user/username/projects/myproject/tsconfig.json *new* -5: /user/username/projects/myproject/tsconfig-src.json *new* -6: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +3: /user/username/projects/myproject/tsconfig-src.json *new* +4: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -1800,16 +1642,26 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* isOrphan: false *changed* - noOpenRef: true + noOpenRef: false *changed* deferredClose: undefined *changed* /user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: false *changed* -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] Running: /user/username/projects/myproject/tsconfig-src.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig-src.json", + "reason": "Change in config file detected" + } + } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { "rootNames": [ "/user/username/projects/myproject/src/main.ts", @@ -1824,33 +1676,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -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 (0) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-src.json", - "reason": "Change in config file detected" - } - } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before @@ -1877,7 +1702,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1914,7 +1739,7 @@ Info seq [hh:mm:ss:mss] Files (0) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2002,11 +1827,11 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* - noOpenRef: false *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 3 *changed* - dirty: false *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -2028,15 +1853,13 @@ ScriptInfos:: containingProjects: 0 Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig-src.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* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/tsconfig-src.json] deleted -Timeout callback:: count: 2 -7: /user/username/projects/myproject/tsconfig.json *new* -8: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +5: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -2052,10 +1875,11 @@ Projects:: projectProgramVersion: 1 isOrphan: true *changed* deferredClose: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 4 *changed* - projectProgramVersion: 3 - dirty: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -2097,9 +1921,8 @@ 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/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2149,14 +1972,14 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} /user/username/projects/myproject/tsconfig-src.json: {} /user/username/projects/myproject/tsconfig.json: {} FsWatches *deleted*:: -/user/username/projects/myproject/src/helpers/functions.ts: - {} /user/username/workspaces/dummy/dummy.ts: {} @@ -2180,9 +2003,10 @@ Projects:: isOrphan: true deferredClose: true /user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 4 - projectProgramVersion: 3 + projectStateVersion: 1 + projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -2190,7 +2014,7 @@ ScriptInfos:: containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* *new* -/user/username/projects/myproject/src/helpers/functions.ts *deleted* +/user/username/projects/myproject/src/helpers/functions.ts version: Text-2 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json @@ -2205,14 +2029,12 @@ ScriptInfos:: /dev/null/inferredProject1* *default* *new* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.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, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -9: /user/username/projects/myproject/tsconfig.json -10: /user/username/projects/myproject/tsconfig-src.json -11: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 2 +6: /user/username/projects/myproject/tsconfig-src.json +7: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig-src.json] { "compilerOptions": { @@ -2226,12 +2048,10 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -7: /user/username/projects/myproject/tsconfig.json *deleted* -8: *ensureProjectForOpenFiles* *deleted* -9: /user/username/projects/myproject/tsconfig.json *new* -10: /user/username/projects/myproject/tsconfig-src.json *new* -11: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +5: *ensureProjectForOpenFiles* *deleted* +6: /user/username/projects/myproject/tsconfig-src.json *new* +7: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -2244,12 +2064,22 @@ Projects:: isOrphan: false *changed* deferredClose: undefined *changed* /user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 4 - projectProgramVersion: 3 + projectStateVersion: 1 + projectProgramVersion: 0 dirty: true + initialLoadPending: true -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] Running: /user/username/projects/myproject/tsconfig-src.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig-src.json", + "reason": "Change in config file detected" + } + } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { "rootNames": [ "/user/username/projects/myproject/src/main.ts", @@ -2262,41 +2092,9 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" } } -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 (0) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-src.json", - "reason": "Change in config file detected" - } - } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-3 "export const foo = 1;" - /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - src/helpers/functions.ts - Imported via 'helpers/functions' from file 'src/main.ts' - Matched by include pattern './src/**/*' in 'tsconfig-src.json' - src/main.ts - Matched by include pattern './src/**/*' in 'tsconfig-src.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json 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] event: { "seq": 0, @@ -2320,7 +2118,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2338,7 +2136,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/dummy/dummy.ts Pro Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2369,34 +2167,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/workspaces/dummy/jsconfig.json: - {"pollingInterval":2000} -/user/username/workspaces/dummy/node_modules/@types: - {"pollingInterval":500} -/user/username/workspaces/dummy/tsconfig.json: - {"pollingInterval":2000} -/user/username/workspaces/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: *new* - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 5 @@ -2405,29 +2175,11 @@ Projects:: projectStateVersion: 3 projectProgramVersion: 1 dirty: false *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 4 - projectProgramVersion: 4 *changed* - dirty: false *changed* - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts - version: Text-1 - containingProjects: 2 - /user/username/projects/myproject/tsconfig-src.json - /dev/null/inferredProject1* -/user/username/projects/myproject/src/helpers/functions.ts *new* - version: Text-3 - 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/workspaces/dummy/dummy.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true Before request @@ -2444,20 +2196,6 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-src.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -2470,7 +2208,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-src.json : { "rootNames": [ "/user/username/projects/myproject/src/main.ts", @@ -2483,35 +2220,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" } } -Info seq [hh:mm:ss:mss] 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] 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 projectStateVersion: 5 projectProgramVersion: 4 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -2535,7 +2243,7 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/pr Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-3 "export const foo = 1;" + /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" @@ -2568,7 +2276,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -2576,7 +2283,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/wo Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2612,7 +2319,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2630,7 +2337,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/dummy/dummy.ts Pro 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2661,9 +2368,9 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/projects/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/workspaces/dummy/jsconfig.json: {"pollingInterval":2000} /user/username/workspaces/dummy/node_modules/@types: @@ -2674,6 +2381,10 @@ PolledWatches:: {"pollingInterval":500} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} /user/username/workspaces/dummy/node_modules/@types: {"pollingInterval":500} /user/username/workspaces/node_modules/@types: @@ -2702,9 +2413,11 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 5 *changed* - projectProgramVersion: 5 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true Before request @@ -2720,6 +2433,87 @@ Info seq [hh:mm:ss:mss] request: "type": "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] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] 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] 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 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) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "4a33d78ee40d836c4f4e64c59aed976628aea0013be9585c5ff171dfc41baf98", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "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": "/user/username/projects/myproject/tsconfig.json", + "configFile": "/user/username/projects/myproject/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/helpers/functions.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -2797,7 +2591,10 @@ Info seq [hh:mm:ss:mss] response: "symbolStartOffset": 10, "symbolDisplayString": "(alias) const foo: 1\nexport foo" }, - "responseRequired": true + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } } After request @@ -2842,9 +2639,11 @@ Projects:: projectProgramVersion: 2 documentPositionMappers: 1 *changed* /user/username/projects/myproject/target/src/helpers/functions.d.ts: DocumentPositionMapper1 *new* -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 5 - projectProgramVersion: 5 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -2853,7 +2652,7 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* /user/username/projects/myproject/src/helpers/functions.ts - version: Text-3 + version: Text-2 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/src/main.ts (Open) @@ -2959,8 +2758,8 @@ Projects:: projectProgramVersion: 2 noOpenRef: true *changed* /user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 5 - projectProgramVersion: 5 + projectStateVersion: 1 + projectProgramVersion: 1 noOpenRef: true *changed* ScriptInfos:: @@ -2970,7 +2769,7 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* /user/username/projects/myproject/src/helpers/functions.ts - version: Text-3 + version: Text-2 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/src/main.ts *changed* @@ -3080,8 +2879,8 @@ Projects:: projectProgramVersion: 2 noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 5 - projectProgramVersion: 5 + projectStateVersion: 1 + projectProgramVersion: 1 noOpenRef: true ScriptInfos:: @@ -3091,7 +2890,7 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* /user/username/projects/myproject/src/helpers/functions.ts - version: Text-3 + version: Text-2 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/src/main.ts @@ -3129,6 +2928,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/indirect3/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/indirect3/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/indirect3/tsconfig.json, currentDirectory: /user/username/projects/myproject/indirect3 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/indirect3/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/indirect3/main.ts" + ], + "options": { + "baseUrl": "/user/username/projects/myproject/target/src", + "configFilePath": "/user/username/projects/myproject/indirect3/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -3139,15 +2947,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/indirect3/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/indirect3/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/indirect3/main.ts" - ], - "options": { - "baseUrl": "/user/username/projects/myproject/target/src", - "configFilePath": "/user/username/projects/myproject/indirect3/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3 1 undefined Config: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3 1 undefined Config: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json @@ -3384,8 +3183,8 @@ Projects:: documentPositionMappers: 0 *changed* /user/username/projects/myproject/target/src/helpers/functions.d.ts: DocumentPositionMapper1 *deleted* /user/username/projects/myproject/tsconfig.json (Configured) *deleted* - projectStateVersion: 5 - projectProgramVersion: 5 + projectStateVersion: 1 + projectProgramVersion: 1 isClosed: true *changed* noOpenRef: true @@ -3401,7 +3200,7 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json *default* /user/username/projects/myproject/src/helpers/functions.ts *changed* - version: Text-3 + version: Text-2 containingProjects: 0 *changed* /user/username/projects/myproject/tsconfig-src.json *deleted* /user/username/projects/myproject/src/main.ts *deleted* @@ -3447,16 +3246,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating project for original file: /user/username/projects/myproject/src/main.ts for location: /user/username/projects/myproject/target/src/main.d.ts" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -3469,7 +3258,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-src.json : { "rootNames": [ "/user/username/projects/myproject/src/main.ts", @@ -3485,35 +3273,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-src.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] event: { @@ -3534,7 +3293,7 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/pr Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-3 "export const foo = 1;" + /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" @@ -3562,7 +3321,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig-src.json", + "triggerFile": "/user/username/projects/myproject/src/main.ts", "configFile": "/user/username/projects/myproject/tsconfig-src.json", "diagnostics": [] } @@ -3572,6 +3331,46 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/helpers/functions.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/helpers/functions.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/src/main.ts position 9 in project /user/username/projects/myproject/tsconfig-src.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating project for original file: /user/username/projects/myproject/src/main.ts for location: /user/username/projects/myproject/target/src/main.d.ts" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] 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] 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 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) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/tsconfig.json", + "configFile": "/user/username/projects/myproject/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] response: { "response": { @@ -3756,7 +3555,7 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json *default* /user/username/projects/myproject/src/helpers/functions.ts *changed* - version: Text-3 + version: Text-2 containingProjects: 1 *changed* /user/username/projects/myproject/tsconfig-src.json *new* /user/username/projects/myproject/src/main.ts *new* 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 78b347088b676..08b5ca114b45a 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 @@ -155,16 +155,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -181,7 +171,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ "/user/username/projects/myproject/indirect1/main.ts" @@ -200,21 +189,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indirect2.json : { "rootNames": [ "/user/username/projects/myproject/indirect2/main.ts" @@ -233,76 +207,21 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "4a33d78ee40d836c4f4e64c59aed976628aea0013be9585c5ff171dfc41baf98", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "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": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { + "rootNames": [ + "/user/username/projects/myproject/src/main.ts", + "/user/username/projects/myproject/src/helpers/functions.ts" + ], + "options": { + "composite": true, + "outDir": "/user/username/projects/myproject/target", + "baseUrl": "/user/username/projects/myproject/src", + "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-src.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] event: { @@ -403,9 +322,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -459,7 +377,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* @@ -603,7 +523,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -675,7 +595,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -709,7 +631,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -779,7 +701,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true *changed* ScriptInfos:: @@ -817,7 +741,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspa Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -891,7 +815,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true ScriptInfos:: @@ -934,18 +860,12 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferre 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) -Info seq [hh:mm:ss:mss] Files (0) - - +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1047,7 +967,9 @@ Projects:: autoImportProviderHost: undefined *changed* /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true isClosed: true *changed* noOpenRef: true @@ -1085,16 +1007,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -1111,7 +1023,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ "/user/username/projects/myproject/indirect1/main.ts" @@ -1130,21 +1041,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indirect2.json : { "rootNames": [ "/user/username/projects/myproject/indirect2/main.ts" @@ -1163,35 +1059,21 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { + "rootNames": [ + "/user/username/projects/myproject/src/main.ts", + "/user/username/projects/myproject/src/helpers/functions.ts" + ], + "options": { + "composite": true, + "outDir": "/user/username/projects/myproject/target", + "baseUrl": "/user/username/projects/myproject/src", + "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-src.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] event: { @@ -1246,9 +1128,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1319,7 +1200,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -1355,7 +1238,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspa Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1427,7 +1310,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1468,7 +1353,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred 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) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1545,7 +1430,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1582,7 +1469,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspa Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1654,7 +1541,9 @@ Projects:: autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1677,17 +1566,14 @@ ScriptInfos:: /dev/null/inferredProject1* *deleted* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig-src.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* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -2: /user/username/projects/myproject/tsconfig.json -3: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig-src.json] deleted -Timeout callback:: count: 2 -2: /user/username/projects/myproject/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -1701,78 +1587,17 @@ Projects:: isOrphan: true *changed* deferredClose: true *changed* autoImportProviderHost: undefined *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true -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] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/indirect1/main.ts", - "/user/username/projects/myproject/indirect2/main.ts", - "/user/username/projects/myproject/indirect3/main.ts", - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts", - "/user/username/projects/myproject/target/src/main.d.ts", - "/user/username/projects/myproject/target/src/helpers/functions.d.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -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 +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [ - { - "start": { - "line": 11, - "offset": 5 - }, - "end": { - "line": 13, - "offset": 6 - }, - "text": "File '/user/username/projects/myproject/tsconfig-src.json' not found.", - "code": 6053, - "category": "error", - "fileName": "/user/username/projects/myproject/tsconfig-indirect1.json" - }, - { - "start": { - "line": 11, - "offset": 5 - }, - "end": { - "line": 13, - "offset": 6 - }, - "text": "File '/user/username/projects/myproject/tsconfig-src.json' not found.", - "code": 6053, - "category": "error", - "fileName": "/user/username/projects/myproject/tsconfig-indirect2.json" - } - ] - } - } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1786,6 +1611,9 @@ 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] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1826,7 +1654,7 @@ Info seq [hh:mm:ss:mss] Files (0) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -1919,9 +1747,10 @@ Projects:: noOpenRef: true *changed* deferredClose: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 2 *changed* - dirty: false *changed* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true *changed* ScriptInfos:: @@ -1945,14 +1774,12 @@ ScriptInfos:: containingProjects: 0 Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.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: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -4: /user/username/projects/myproject/tsconfig.json -5: /user/username/projects/myproject/tsconfig-src.json -6: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 2 +3: /user/username/projects/myproject/tsconfig-src.json +4: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig-src.json] { "compilerOptions": { @@ -1966,10 +1793,9 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -4: /user/username/projects/myproject/tsconfig.json *new* -5: /user/username/projects/myproject/tsconfig-src.json *new* -6: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +3: /user/username/projects/myproject/tsconfig-src.json *new* +4: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -1985,16 +1811,26 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* isOrphan: false *changed* - noOpenRef: true + noOpenRef: false *changed* deferredClose: undefined *changed* /user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: false *changed* -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] Running: /user/username/projects/myproject/tsconfig-src.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig-src.json", + "reason": "Change in config file detected" + } + } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { "rootNames": [ "/user/username/projects/myproject/src/main.ts", @@ -2009,33 +1845,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -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 (0) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-src.json", - "reason": "Change in config file detected" - } - } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before @@ -2062,7 +1871,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2099,7 +1908,7 @@ Info seq [hh:mm:ss:mss] Files (0) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2191,11 +2000,11 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* - noOpenRef: false *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 3 *changed* - dirty: false *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -2217,15 +2026,13 @@ ScriptInfos:: containingProjects: 0 Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig-src.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* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/tsconfig-src.json] deleted -Timeout callback:: count: 2 -7: /user/username/projects/myproject/tsconfig.json *new* -8: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +5: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -2241,10 +2048,11 @@ Projects:: projectProgramVersion: 1 isOrphan: true *changed* deferredClose: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 4 *changed* - projectProgramVersion: 3 - dirty: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true Info seq [hh:mm:ss:mss] request: { @@ -2286,9 +2094,8 @@ 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/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2338,6 +2145,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} /user/username/projects/myproject/tsconfig-indirect1.json: {} /user/username/projects/myproject/tsconfig-indirect2.json: @@ -2348,8 +2157,6 @@ FsWatches:: {} FsWatches *deleted*:: -/user/username/projects/myproject/src/helpers/functions.ts: - {} /user/username/workspaces/dummy/dummy.ts: {} @@ -2373,9 +2180,10 @@ Projects:: isOrphan: true deferredClose: true /user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 4 - projectProgramVersion: 3 + projectStateVersion: 1 + projectProgramVersion: 0 dirty: true + initialLoadPending: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -2383,7 +2191,7 @@ ScriptInfos:: containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* *new* -/user/username/projects/myproject/src/helpers/functions.ts *deleted* +/user/username/projects/myproject/src/helpers/functions.ts version: Text-2 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json @@ -2398,14 +2206,12 @@ ScriptInfos:: /dev/null/inferredProject1* *default* *new* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.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, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -9: /user/username/projects/myproject/tsconfig.json -10: /user/username/projects/myproject/tsconfig-src.json -11: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 2 +6: /user/username/projects/myproject/tsconfig-src.json +7: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig-src.json] { "compilerOptions": { @@ -2419,12 +2225,10 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -7: /user/username/projects/myproject/tsconfig.json *deleted* -8: *ensureProjectForOpenFiles* *deleted* -9: /user/username/projects/myproject/tsconfig.json *new* -10: /user/username/projects/myproject/tsconfig-src.json *new* -11: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +5: *ensureProjectForOpenFiles* *deleted* +6: /user/username/projects/myproject/tsconfig-src.json *new* +7: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -2437,12 +2241,22 @@ Projects:: isOrphan: false *changed* deferredClose: undefined *changed* /user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 4 - projectProgramVersion: 3 + projectStateVersion: 1 + projectProgramVersion: 0 dirty: true + initialLoadPending: true -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] Running: /user/username/projects/myproject/tsconfig-src.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig-src.json", + "reason": "Change in config file detected" + } + } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { "rootNames": [ "/user/username/projects/myproject/src/main.ts", @@ -2455,41 +2269,9 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" } } -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 (0) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-src.json", - "reason": "Change in config file detected" - } - } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-3 "export const foo = 1;" - /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - src/helpers/functions.ts - Imported via 'helpers/functions' from file 'src/main.ts' - Matched by include pattern './src/**/*' in 'tsconfig-src.json' - src/main.ts - Matched by include pattern './src/**/*' in 'tsconfig-src.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json 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] event: { "seq": 0, @@ -2513,7 +2295,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2531,7 +2313,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/dummy/dummy.ts Pro Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2562,38 +2344,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/workspaces/dummy/jsconfig.json: - {"pollingInterval":2000} -/user/username/workspaces/dummy/node_modules/@types: - {"pollingInterval":500} -/user/username/workspaces/dummy/tsconfig.json: - {"pollingInterval":2000} -/user/username/workspaces/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: *new* - {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-indirect2.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 5 @@ -2602,29 +2352,11 @@ Projects:: projectStateVersion: 3 projectProgramVersion: 1 dirty: false *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 4 - projectProgramVersion: 4 *changed* - dirty: false *changed* - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts - version: Text-1 - containingProjects: 2 - /user/username/projects/myproject/tsconfig-src.json - /dev/null/inferredProject1* -/user/username/projects/myproject/src/helpers/functions.ts *new* - version: Text-3 - 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/workspaces/dummy/dummy.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true Before request @@ -2641,20 +2373,6 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-src.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -2671,7 +2389,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ "/user/username/projects/myproject/indirect1/main.ts" @@ -2689,18 +2406,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi } ] } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indirect2.json : { "rootNames": [ "/user/username/projects/myproject/indirect2/main.ts" @@ -2718,35 +2423,18 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi } ] } -Info seq [hh:mm:ss:mss] 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] 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 projectStateVersion: 5 projectProgramVersion: 4 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { + "rootNames": [ + "/user/username/projects/myproject/src/main.ts", + "/user/username/projects/myproject/src/helpers/functions.ts" + ], + "options": { + "composite": true, + "outDir": "/user/username/projects/myproject/target", + "baseUrl": "/user/username/projects/myproject/src", + "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" + } +} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -2770,7 +2458,7 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/pr Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-3 "export const foo = 1;" + /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" @@ -2803,7 +2491,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -2811,7 +2498,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/wo Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2847,7 +2534,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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 (0) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2865,7 +2552,7 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/dummy/dummy.ts Pro 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] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) @@ -2896,9 +2583,9 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/projects/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/workspaces/dummy/jsconfig.json: {"pollingInterval":2000} /user/username/workspaces/dummy/node_modules/@types: @@ -2909,6 +2596,10 @@ PolledWatches:: {"pollingInterval":500} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} /user/username/workspaces/dummy/node_modules/@types: {"pollingInterval":500} /user/username/workspaces/node_modules/@types: @@ -2941,9 +2632,11 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 5 *changed* - projectProgramVersion: 5 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true Before request @@ -2959,6 +2652,87 @@ Info seq [hh:mm:ss:mss] request: "type": "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] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] 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] 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 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) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "4a33d78ee40d836c4f4e64c59aed976628aea0013be9585c5ff171dfc41baf98", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "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": "/user/username/projects/myproject/tsconfig.json", + "configFile": "/user/username/projects/myproject/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-indirect1.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] event: { @@ -2980,7 +2754,7 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/pr Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-3 "export const foo = 1;" + /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" @@ -3081,7 +2855,7 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/pr Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-3 "export const foo = 1;" + /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect2/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" @@ -3386,9 +3160,11 @@ Projects:: projectProgramVersion: 2 documentPositionMappers: 1 *changed* /user/username/projects/myproject/target/src/helpers/functions.d.ts: DocumentPositionMapper1 *new* -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 5 - projectProgramVersion: 5 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* @@ -3407,7 +3183,7 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/src/helpers/functions.ts *changed* - version: Text-3 + version: Text-2 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json *new* @@ -3549,8 +3325,8 @@ Projects:: projectProgramVersion: 2 noOpenRef: true *changed* /user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 5 - projectProgramVersion: 5 + projectStateVersion: 1 + projectProgramVersion: 1 noOpenRef: true *changed* ScriptInfos:: @@ -3570,7 +3346,7 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/src/helpers/functions.ts - version: Text-3 + version: Text-2 containingProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json @@ -3716,8 +3492,8 @@ Projects:: projectProgramVersion: 2 noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 5 - projectProgramVersion: 5 + projectStateVersion: 1 + projectProgramVersion: 1 noOpenRef: true ScriptInfos:: @@ -3737,7 +3513,7 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/src/helpers/functions.ts - version: Text-3 + version: Text-2 containingProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json @@ -3779,6 +3555,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/indirect3/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/indirect3/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/indirect3/tsconfig.json, currentDirectory: /user/username/projects/myproject/indirect3 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/indirect3/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/indirect3/main.ts" + ], + "options": { + "baseUrl": "/user/username/projects/myproject/target/src", + "configFilePath": "/user/username/projects/myproject/indirect3/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -3789,15 +3574,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/indirect3/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/indirect3/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/indirect3/main.ts" - ], - "options": { - "baseUrl": "/user/username/projects/myproject/target/src", - "configFilePath": "/user/username/projects/myproject/indirect3/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3 1 undefined Config: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3 1 undefined Config: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json @@ -3968,10 +3744,10 @@ Info seq [hh:mm:ss:mss] Files (4) Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots @@ -4110,8 +3886,8 @@ Projects:: documentPositionMappers: 0 *changed* /user/username/projects/myproject/target/src/helpers/functions.d.ts: DocumentPositionMapper1 *deleted* /user/username/projects/myproject/tsconfig.json (Configured) *deleted* - projectStateVersion: 5 - projectProgramVersion: 5 + projectStateVersion: 1 + projectProgramVersion: 1 isClosed: true *changed* noOpenRef: true @@ -4137,7 +3913,7 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json *default* /user/username/projects/myproject/src/helpers/functions.ts *changed* - version: Text-3 + version: Text-2 containingProjects: 0 *changed* /user/username/projects/myproject/tsconfig-src.json *deleted* /user/username/projects/myproject/tsconfig-indirect1.json *deleted* @@ -4187,16 +3963,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating project for original file: /user/username/projects/myproject/src/main.ts for location: /user/username/projects/myproject/target/src/main.d.ts" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [], "options": { @@ -4213,7 +3979,6 @@ 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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ "/user/username/projects/myproject/indirect1/main.ts" @@ -4232,21 +3997,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indirect2.json : { "rootNames": [ "/user/username/projects/myproject/indirect2/main.ts" @@ -4265,35 +4015,21 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] 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] 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 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) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig.json", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { + "rootNames": [ + "/user/username/projects/myproject/src/main.ts", + "/user/username/projects/myproject/src/helpers/functions.ts" + ], + "options": { + "composite": true, + "outDir": "/user/username/projects/myproject/target", + "baseUrl": "/user/username/projects/myproject/src", + "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-src.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] event: { @@ -4314,7 +4050,7 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/pr Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-3 "export const foo = 1;" + /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" @@ -4342,7 +4078,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig-src.json", + "triggerFile": "/user/username/projects/myproject/src/main.ts", "configFile": "/user/username/projects/myproject/tsconfig-src.json", "diagnostics": [] } @@ -4352,6 +4088,46 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/helpers/functions.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/helpers/functions.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/src/main.ts position 9 in project /user/username/projects/myproject/tsconfig-src.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating project for original file: /user/username/projects/myproject/src/main.ts for location: /user/username/projects/myproject/target/src/main.d.ts" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] 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] 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 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) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/tsconfig.json", + "configFile": "/user/username/projects/myproject/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-indirect1.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] event: { @@ -4373,7 +4149,7 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/pr Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-3 "export const foo = 1;" + /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" @@ -4429,7 +4205,7 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/pr Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-3 "export const foo = 1;" + /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect2/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" @@ -4764,7 +4540,7 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json *default* /user/username/projects/myproject/src/helpers/functions.ts *changed* - version: Text-3 + version: Text-2 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig-src.json *new* /user/username/projects/myproject/tsconfig-indirect1.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js b/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js index b6cde610a035b..ba3ba491e7995 100644 --- a/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js @@ -61,16 +61,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/src/project/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/src/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/src/project/tsconfig.json, currentDirectory: /user/username/projects/project/src/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/src/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/src/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/src/project/index.ts" @@ -86,6 +76,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/project/tsc } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/src/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/src/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/project 1 undefined Config: /user/username/projects/project/src/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/project 1 undefined Config: /user/username/projects/project/src/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/src/project/tsconfig.json 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 2331e90ef366d..d38d7ce6fbaf1 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 @@ -96,16 +96,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/compositea/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/compositea/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/compositea/tsconfig.json, currentDirectory: /user/username/projects/myproject/compositea Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositea/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/compositea/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/compositea/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/compositea/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/compositea/a.ts", @@ -125,6 +115,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/compositea/ts "configFilePath": "/user/username/projects/myproject/compositea/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/compositea/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/compositea/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositea 1 undefined Config: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositea 1 undefined Config: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositea/a2.ts 500 undefined WatchType: Closed Script info @@ -308,16 +308,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/compositec/c.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/compositec/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/compositec/tsconfig.json, currentDirectory: /user/username/projects/myproject/compositec Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositec/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/compositec/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/compositec/c.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/compositec/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/compositec/c.ts" @@ -342,6 +332,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/compositec/ts } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/compositec/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/compositec/c.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositec 1 undefined Config: /user/username/projects/myproject/compositec/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositec 1 undefined Config: /user/username/projects/myproject/compositec/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/compositec/tsconfig.json 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 35282c91b7d43..5d9187aac45ee 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 @@ -298,16 +298,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/src/common/input/keyboard.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/src/common/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/src/common/tsconfig.json, currentDirectory: /user/username/projects/project/src/common Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/tsconfig.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/src/common/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/src/common/input/keyboard.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/common/tsconfig.json : { "rootNames": [ "/user/username/projects/project/src/common/input/keyboard.test.ts", @@ -322,6 +312,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/common/tsco "configFilePath": "/user/username/projects/project/src/common/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/src/common/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/src/common/input/keyboard.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common 1 undefined Config: /user/username/projects/project/src/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common 1 undefined Config: /user/username/projects/project/src/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/input/keyboard.test.ts 500 undefined WatchType: Closed Script info @@ -508,16 +508,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/src/terminal.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/src/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/src/tsconfig.json", - "reason": "Creating project possibly referencing default composite project /user/username/projects/project/src/common/tsconfig.json of open file /user/username/projects/project/src/common/input/keyboard.ts" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/tsconfig.json : { "rootNames": [ "/user/username/projects/project/src/terminal.ts", @@ -546,6 +536,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/src/tsconfig.json", + "reason": "Creating project possibly referencing default composite project /user/username/projects/project/src/common/tsconfig.json of open file /user/username/projects/project/src/common/input/keyboard.ts" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src 1 undefined Config: /user/username/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src 1 undefined Config: /user/username/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/src/tsconfig.json 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 ea46fa2d7afec..7da66c20a5553 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 @@ -298,16 +298,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/src/common/input/keyboard.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/src/common/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/src/common/tsconfig.json, currentDirectory: /user/username/projects/project/src/common Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/tsconfig.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/src/common/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/src/common/input/keyboard.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/common/tsconfig.json : { "rootNames": [ "/user/username/projects/project/src/common/input/keyboard.test.ts", @@ -322,6 +312,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/common/tsco "configFilePath": "/user/username/projects/project/src/common/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/src/common/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/src/common/input/keyboard.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common 1 undefined Config: /user/username/projects/project/src/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common 1 undefined Config: /user/username/projects/project/src/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/input/keyboard.test.ts 500 undefined WatchType: Closed Script info @@ -508,16 +508,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/src/terminal.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/src/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/src/tsconfig.json", - "reason": "Creating project possibly referencing default composite project /user/username/projects/project/src/common/tsconfig.json of open file /user/username/projects/project/src/common/input/keyboard.ts" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/tsconfig.json : { "rootNames": [ "/user/username/projects/project/src/terminal.ts", @@ -546,6 +536,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/src/tsconfig.json", + "reason": "Creating project possibly referencing default composite project /user/username/projects/project/src/common/tsconfig.json of open file /user/username/projects/project/src/common/input/keyboard.ts" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src 1 undefined Config: /user/username/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src 1 undefined Config: /user/username/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/src/tsconfig.json 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 be37d575fd6ea..c838b2404c258 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 @@ -166,16 +166,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -196,6 +186,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { @@ -441,7 +441,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -1131,16 +1130,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -1161,6 +1150,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { @@ -1316,7 +1315,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -1452,16 +1450,6 @@ 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/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -1482,6 +1470,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ @@ -1632,7 +1630,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots 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 15c27cbe6bccf..6cc7a730aefe0 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 @@ -141,16 +141,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -167,6 +157,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { @@ -296,119 +296,14 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-indirect1.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-indirect1.json", - "reason": "Creating project referenced in solution /user/username/projects/myproject/tsconfig.json to find possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] 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] 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 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" - /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" - /user/username/projects/myproject/indirect1/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - src/helpers/functions.ts - Imported via 'helpers/functions' from file 'src/main.ts' - src/main.ts - Imported via 'main' from file 'indirect1/main.ts' - indirect1/main.ts - 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": "/user/username/projects/myproject/tsconfig-indirect1.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "9ccc3aed1af08832ccb25ea453f7b771199f56af238b53cc428549dbd2d59246", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 134, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "", - "baseUrl": "", - "disableReferencedProjectLoad": true - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": true, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "other", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig-indirect1.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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] 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.json,/user/username/projects/myproject/tsconfig-indirect1.json +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -449,9 +344,6 @@ FsWatchesRecursive:: {} 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 @@ -460,28 +352,24 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /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 + containingProjects: 1 /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 + containingProjects: 1 /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 + containingProjects: 1 /user/username/projects/myproject/tsconfig.json *default* - /user/username/projects/myproject/tsconfig-indirect1.json Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: getDefaultProjectForFile: @@ -524,10 +412,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- 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) @@ -535,7 +419,7 @@ 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.json,/user/username/projects/myproject/tsconfig-indirect1.json +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: @@ -590,9 +474,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/tsconfig-indirect1.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -601,29 +482,25 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json - /user/username/projects/myproject/tsconfig-indirect1.json /dev/null/inferredProject1* *new* /user/username/projects/myproject/indirect1/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /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 + containingProjects: 1 /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 + containingProjects: 1 /user/username/projects/myproject/tsconfig.json *default* - /user/username/projects/myproject/tsconfig-indirect1.json /user/username/workspaces/dummy/dummy.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -644,10 +521,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project 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) @@ -707,10 +580,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -720,30 +589,26 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/tsconfig.json - /user/username/projects/myproject/tsconfig-indirect1.json /dev/null/inferredProject1* /user/username/projects/myproject/indirect1/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /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 + containingProjects: 1 /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 + containingProjects: 1 /user/username/projects/myproject/tsconfig.json - /user/username/projects/myproject/tsconfig-indirect1.json /user/username/workspaces/dummy/dummy.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -766,10 +631,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspa 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) @@ -833,10 +694,6 @@ Projects:: dirty: true *changed* isOrphan: true *changed* autoImportProviderHost: false -/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 @@ -846,29 +703,25 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/tsconfig.json - /user/username/projects/myproject/tsconfig-indirect1.json /dev/null/inferredProject1* /user/username/projects/myproject/indirect1/main.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /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 + containingProjects: 1 /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 + containingProjects: 1 /user/username/projects/myproject/tsconfig.json - /user/username/projects/myproject/tsconfig-indirect1.json /user/username/workspaces/dummy/dummy.ts *changed* open: false *changed* version: SVC-1-0 @@ -916,37 +769,14 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts - /user/username/projects/myproject/src/helpers/functions.ts - /user/username/projects/myproject/src/main.ts - /user/username/projects/myproject/indirect1/main.ts - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - src/helpers/functions.ts - Imported via 'helpers/functions' from file 'src/main.ts' - src/main.ts - Imported via 'main' from file 'indirect1/main.ts' - indirect1/main.ts - Part of 'files' list in tsconfig.json - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info @@ -1020,11 +850,6 @@ Projects:: dirty: false *changed* isOrphan: false *changed* autoImportProviderHost: undefined *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 @@ -1038,12 +863,10 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject1* /user/username/projects/myproject/tsconfig.json *deleted* - /user/username/projects/myproject/tsconfig-indirect1.json *deleted* /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* @@ -1052,12 +875,10 @@ ScriptInfos:: 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* /user/username/workspaces/dummy/dummy.ts (Open) *changed* open: true *changed* version: SVC-1-0 @@ -1078,16 +899,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -1104,6 +915,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { @@ -1188,69 +1009,10 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig-indirect1.json, currentDirectory: /user/username/projects/myproject -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-indirect1.json", - "reason": "Creating project referenced in solution /user/username/projects/myproject/tsconfig.json to find possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] 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] 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 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" - /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - src/helpers/functions.ts - Imported via 'helpers/functions' from file 'src/main.ts' - src/main.ts - Imported via 'main' from file 'indirect1/main.ts' - indirect1/main.ts - 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": "/user/username/projects/myproject/tsconfig-indirect1.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/src/main.ts", - "configFile": "/user/username/projects/myproject/tsconfig-indirect1.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined 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) @@ -1260,7 +1022,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/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] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1312,9 +1074,6 @@ 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 @@ -1323,29 +1082,25 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 2 *changed* /dev/null/inferredProject1* /user/username/projects/myproject/tsconfig.json *new* - /user/username/projects/myproject/tsconfig-indirect1.json *new* /user/username/projects/myproject/indirect1/main.ts *new* version: Text-2 - containingProjects: 2 + containingProjects: 1 /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 + containingProjects: 1 /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 + containingProjects: 1 /user/username/projects/myproject/tsconfig.json *default* - /user/username/projects/myproject/tsconfig-indirect1.json /user/username/workspaces/dummy/dummy.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -1362,15 +1117,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] reload projects. Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-indirect1.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* 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 Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-indirect1.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-indirect1.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -1378,16 +1130,6 @@ 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/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -1404,6 +1146,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ @@ -1481,64 +1233,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig-indirect1.json", - "reason": "User requested reload projects: Creating project referenced in solution /user/username/projects/myproject/tsconfig.json to find possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] 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] 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 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" - /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - src/helpers/functions.ts - Imported via 'helpers/functions' from file 'src/main.ts' - src/main.ts - Imported via 'main' from file 'indirect1/main.ts' - indirect1/main.ts - 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": "/user/username/projects/myproject/tsconfig-indirect1.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig-indirect1.json", - "configFile": "/user/username/projects/myproject/tsconfig-indirect1.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -1548,10 +1242,6 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: 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 (0) NoProgram @@ -1561,7 +1251,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/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] 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] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspaces/dummy/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/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -1584,10 +1274,6 @@ 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 (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) @@ -1597,15 +1283,11 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/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] 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 (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) @@ -1615,7 +1297,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/workspaces/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] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1631,9 +1313,9 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/projects/node_modules/@types: - {"pollingInterval":500} + {"pollingInterval":500} *new* /user/username/workspaces/dummy/jsconfig.json: {"pollingInterval":2000} /user/username/workspaces/dummy/node_modules/@types: @@ -1644,6 +1326,10 @@ PolledWatches:: {"pollingInterval":500} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} /user/username/workspaces/dummy/node_modules/@types: {"pollingInterval":500} /user/username/workspaces/node_modules/@types: @@ -1675,9 +1361,6 @@ 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 5abd99a202e0b..a7cf06db700f4 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 @@ -120,16 +120,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -147,6 +137,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-src.json : { @@ -812,16 +812,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -839,6 +829,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-src.json : { @@ -1011,16 +1011,6 @@ 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/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -1038,6 +1028,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { "rootNames": [ 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 411249dfce377..c3edc6cb63eb2 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 @@ -119,16 +119,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -145,6 +135,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-src.json : { @@ -349,7 +349,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -1072,16 +1071,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -1098,6 +1087,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-src.json : { @@ -1212,7 +1211,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -1699,19 +1697,6 @@ Projects:: 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] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/indirect3/main.ts", - "/user/username/projects/myproject/own/main.ts", - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts", - "/user/username/projects/myproject/target/src/main.d.ts", - "/user/username/projects/myproject/target/src/helpers/functions.d.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory 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 @@ -2433,16 +2418,6 @@ 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/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -2459,6 +2434,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { "rootNames": [ @@ -2571,7 +2556,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -3210,6 +3194,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/indirect3/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/indirect3/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/indirect3/tsconfig.json, currentDirectory: /user/username/projects/myproject/indirect3 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/indirect3/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/indirect3/main.ts" + ], + "options": { + "baseUrl": "/user/username/projects/myproject/target/src", + "configFilePath": "/user/username/projects/myproject/indirect3/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -3220,15 +3213,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/indirect3/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/indirect3/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/indirect3/main.ts" - ], - "options": { - "baseUrl": "/user/username/projects/myproject/target/src", - "configFilePath": "/user/username/projects/myproject/indirect3/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3 1 undefined Config: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3 1 undefined Config: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json @@ -3553,16 +3537,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating project for original file: /user/username/projects/myproject/src/main.ts for location: /user/username/projects/myproject/target/src/main.d.ts" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -3579,6 +3553,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating project for original file: /user/username/projects/myproject/src/main.ts for location: /user/username/projects/myproject/target/src/main.d.ts" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-src.json : { @@ -3687,7 +3671,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig-src.json", + "triggerFile": "/user/username/projects/myproject/src/main.ts", "configFile": "/user/username/projects/myproject/tsconfig-src.json", "diagnostics": [] } 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 b9495f0fef6a7..bb2d6fa929153 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 @@ -165,16 +165,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -195,6 +185,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { @@ -439,7 +439,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -1218,16 +1217,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -1248,6 +1237,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { @@ -1402,7 +1401,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -1929,21 +1927,6 @@ Projects:: 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] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/indirect1/main.ts", - "/user/username/projects/myproject/indirect2/main.ts", - "/user/username/projects/myproject/indirect3/main.ts", - "/user/username/projects/myproject/own/main.ts", - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts", - "/user/username/projects/myproject/target/src/main.d.ts", - "/user/username/projects/myproject/target/src/helpers/functions.d.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -2789,16 +2772,6 @@ 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/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -2819,6 +2792,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { "rootNames": [ @@ -2968,7 +2951,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-src.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -3227,7 +3209,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig-indirect1.json", + "triggerFile": "/user/username/projects/myproject/indirect1/main.ts", "configFile": "/user/username/projects/myproject/tsconfig-indirect1.json", "diagnostics": [] } @@ -3998,6 +3980,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/indirect3/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/indirect3/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/indirect3/tsconfig.json, currentDirectory: /user/username/projects/myproject/indirect3 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/indirect3/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/indirect3/main.ts" + ], + "options": { + "baseUrl": "/user/username/projects/myproject/target/src", + "configFilePath": "/user/username/projects/myproject/indirect3/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -4008,15 +3999,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/indirect3/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/indirect3/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/indirect3/main.ts" - ], - "options": { - "baseUrl": "/user/username/projects/myproject/target/src", - "configFilePath": "/user/username/projects/myproject/indirect3/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3 1 undefined Config: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3 1 undefined Config: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json @@ -4437,16 +4419,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating project for original file: /user/username/projects/myproject/src/main.ts for location: /user/username/projects/myproject/target/src/main.d.ts" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/own/main.ts" @@ -4467,6 +4439,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating project for original file: /user/username/projects/myproject/src/main.ts for location: /user/username/projects/myproject/target/src/main.d.ts" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/main.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] Config: /user/username/projects/myproject/tsconfig-indirect1.json : { @@ -4615,7 +4597,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig-src.json", + "triggerFile": "/user/username/projects/myproject/src/main.ts", "configFile": "/user/username/projects/myproject/tsconfig-src.json", "diagnostics": [] } @@ -4681,7 +4663,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/tsconfig-indirect1.json", + "triggerFile": "/user/username/projects/myproject/indirect1/main.ts", "configFile": "/user/username/projects/myproject/tsconfig-indirect1.json", "diagnostics": [] } 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 b51346e0d0936..16b9b0422be6a 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 @@ -101,16 +101,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/solution/api/src/server.ts ProjectRootPath: undefined:: Result: /user/username/projects/solution/api/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/solution/api/tsconfig.json, currentDirectory: /user/username/projects/solution/api Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/tsconfig.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/solution/api/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/solution/api/src/server.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/api/tsconfig.json : { "rootNames": [ "/user/username/projects/solution/api/src/server.ts" @@ -128,6 +118,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/api/tsconfig.j } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/solution/api/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/solution/api/src/server.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src 1 undefined Config: /user/username/projects/solution/api/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src 1 undefined Config: /user/username/projects/solution/api/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json @@ -423,7 +423,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/solution/shared/tsconfig.json", + "triggerFile": "/user/username/projects/solution/shared/src/index.ts", "configFile": "/user/username/projects/solution/shared/tsconfig.json", "diagnostics": [] } 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 54a91b9b177bd..db429191aebc1 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 @@ -102,16 +102,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/solution/api/src/server.ts ProjectRootPath: undefined:: Result: /user/username/projects/solution/api/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/solution/api/tsconfig.json, currentDirectory: /user/username/projects/solution/api Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/tsconfig.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/solution/api/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/solution/api/src/server.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/api/tsconfig.json : { "rootNames": [ "/user/username/projects/solution/api/src/server.ts" @@ -129,6 +119,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/api/tsconfig.j } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/solution/api/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/solution/api/src/server.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src 1 undefined Config: /user/username/projects/solution/api/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src 1 undefined Config: /user/username/projects/solution/api/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json @@ -424,7 +424,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/solution/shared/tsconfig.json", + "triggerFile": "/user/username/projects/solution/shared/src/index.ts", "configFile": "/user/username/projects/solution/shared/tsconfig.json", "diagnostics": [] } 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 2bfd678f06652..97f148f7a0bc3 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 @@ -101,16 +101,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/solution/api/src/server.ts ProjectRootPath: undefined:: Result: /user/username/projects/solution/api/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/solution/api/tsconfig.json, currentDirectory: /user/username/projects/solution/api Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/tsconfig.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/solution/api/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/solution/api/src/server.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/api/tsconfig.json : { "rootNames": [ "/user/username/projects/solution/api/src/server.ts" @@ -128,6 +118,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/api/tsconfig.j } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/solution/api/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/solution/api/src/server.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src 1 undefined Config: /user/username/projects/solution/api/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src 1 undefined Config: /user/username/projects/solution/api/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json @@ -423,7 +423,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/solution/shared/tsconfig.json", + "triggerFile": "/user/username/projects/solution/shared/src/index.ts", "configFile": "/user/username/projects/solution/shared/tsconfig.json", "diagnostics": [] } 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 2969eec73f270..6a9d3bcfac0d7 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 @@ -103,16 +103,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/solution/api/src/server.ts ProjectRootPath: undefined:: Result: /user/username/projects/solution/api/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/solution/api/tsconfig.json, currentDirectory: /user/username/projects/solution/api Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/tsconfig.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/solution/api/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/solution/api/src/server.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/api/tsconfig.json : { "rootNames": [ "/user/username/projects/solution/api/src/server.ts" @@ -130,6 +120,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/api/tsconfig.j } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/solution/api/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/solution/api/src/server.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src 1 undefined Config: /user/username/projects/solution/api/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src 1 undefined Config: /user/username/projects/solution/api/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json @@ -425,7 +425,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/solution/shared/tsconfig.json", + "triggerFile": "/user/username/projects/solution/shared/src/index.ts", "configFile": "/user/username/projects/solution/shared/tsconfig.json", "diagnostics": [] } 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 30016d1a1c2fd..247b1723f494b 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 @@ -101,16 +101,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/solution/api/src/server.ts ProjectRootPath: undefined:: Result: /user/username/projects/solution/api/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/solution/api/tsconfig.json, currentDirectory: /user/username/projects/solution/api Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/tsconfig.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/solution/api/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/solution/api/src/server.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/api/tsconfig.json : { "rootNames": [ "/user/username/projects/solution/api/src/server.ts" @@ -128,6 +118,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/api/tsconfig.j } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/solution/api/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/solution/api/src/server.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src 1 undefined Config: /user/username/projects/solution/api/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src 1 undefined Config: /user/username/projects/solution/api/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json @@ -423,7 +423,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/solution/shared/tsconfig.json", + "triggerFile": "/user/username/projects/solution/shared/src/index.ts", "configFile": "/user/username/projects/solution/shared/tsconfig.json", "diagnostics": [] } diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js index ff2985af6198a..5afcc77540a6f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -121,105 +111,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 34, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": true, - "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": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -241,8 +135,19 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { @@ -268,6 +173,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/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] 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 @@ -456,9 +362,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -488,8 +393,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* @@ -520,7 +423,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -538,8 +443,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *new* version: Text-1 @@ -548,21 +452,18 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -1: /home/src/projects/project/app/tsconfig.json -2: /home/src/projects/project/tsconfig.json -3: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 2 +1: /home/src/projects/project/tsconfig.json +2: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -578,16 +479,16 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -1: /home/src/projects/project/app/tsconfig.json *new* -2: /home/src/projects/project/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +1: /home/src/projects/project/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -598,17 +499,8 @@ Projects:: dirty: true *changed* autoImportProviderHost: false -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Change in config file detected" - } - } +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -618,36 +510,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : "configFilePath": "/home/src/projects/project/app/tsconfig.json" } } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/tsconfig.json", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 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) @@ -686,7 +548,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -700,8 +562,100 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +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/app/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/app/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/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/app/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 1, + "tsSize": 34, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "exclude": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/app/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -732,11 +686,44 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: *new* + {"pollingInterval":500} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} +/home/src/tslibs/TS/Lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} + Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 + projectStateVersion: 1 + projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -747,6 +734,29 @@ Projects:: dirty: false *changed* autoImportProviderHost: false +ScriptInfos:: +/home/src/projects/project/app/Component-demos.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/app/tsconfig.json *new* +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json + /home/src/projects/project/app/tsconfig.json *new* + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: /home/src/projects/project/demos/tsconfig.json @@ -766,6 +776,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/random/tsconfig.json, currentDirectory: /home/src/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/tsconfig.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { + "rootNames": [ + "/home/src/projects/random/random.ts" + ], + "options": { + "configFilePath": "/home/src/projects/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -776,14 +794,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { - "rootNames": [ - "/home/src/projects/random/random.ts" - ], - "options": { - "configFilePath": "/home/src/projects/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json @@ -939,7 +949,7 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 2 + projectStateVersion: 1 projectProgramVersion: 1 /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 @@ -963,8 +973,8 @@ ScriptInfos:: /home/src/projects/project/app/Component.ts version: Text-1 containingProjects: 2 - /home/src/projects/project/app/tsconfig.json /home/src/projects/project/tsconfig.json + /home/src/projects/project/app/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 containingProjects: 2 @@ -977,9 +987,9 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json + /home/src/projects/project/app/tsconfig.json /home/src/projects/random/tsconfig.json *new* Before request @@ -1065,7 +1075,7 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 2 + projectStateVersion: 1 projectProgramVersion: 1 /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 @@ -1090,8 +1100,8 @@ ScriptInfos:: /home/src/projects/project/app/Component.ts version: Text-1 containingProjects: 2 - /home/src/projects/project/app/tsconfig.json /home/src/projects/project/tsconfig.json + /home/src/projects/project/app/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 containingProjects: 2 @@ -1105,9 +1115,9 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 - /home/src/projects/project/app/tsconfig.json /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json + /home/src/projects/project/app/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: @@ -1122,9 +1132,9 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 3 -4: /home/src/projects/project/app/tsconfig.json -5: /home/src/projects/project/tsconfig.json -6: *ensureProjectForOpenFiles* +3: /home/src/projects/project/app/tsconfig.json +4: /home/src/projects/project/tsconfig.json +5: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -1141,13 +1151,13 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -4: /home/src/projects/project/app/tsconfig.json *new* -5: /home/src/projects/project/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +3: /home/src/projects/project/app/tsconfig.json *new* +4: /home/src/projects/project/tsconfig.json *new* +5: *ensureProjectForOpenFiles* *new* Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* + projectStateVersion: 2 *changed* projectProgramVersion: 1 dirty: true *changed* /home/src/projects/project/demos/tsconfig.json (Configured) @@ -1187,7 +1197,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" @@ -1258,7 +1268,6 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1295,7 +1304,7 @@ After running Timeout callback:: count: 0 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 3 + projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* /home/src/projects/project/demos/tsconfig.json (Configured) diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js index 9bb59aca888b4..ce8da2fcb0b78 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -121,105 +111,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 34, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": true, - "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": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -241,8 +135,19 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { @@ -268,6 +173,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/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] 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 @@ -456,9 +362,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -488,8 +393,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* @@ -520,7 +423,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -538,8 +443,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *new* version: Text-1 @@ -548,21 +452,18 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -1: /home/src/projects/project/app/tsconfig.json -2: /home/src/projects/project/tsconfig.json -3: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 2 +1: /home/src/projects/project/tsconfig.json +2: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -578,16 +479,16 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -1: /home/src/projects/project/app/tsconfig.json *new* -2: /home/src/projects/project/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +1: /home/src/projects/project/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -598,17 +499,8 @@ Projects:: dirty: true *changed* autoImportProviderHost: false -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Change in config file detected" - } - } +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -618,36 +510,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : "configFilePath": "/home/src/projects/project/app/tsconfig.json" } } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/tsconfig.json", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 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) @@ -686,7 +548,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -700,8 +562,100 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +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/app/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/app/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/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + + + ../../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/projects/project/app/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 1, + "tsSize": 34, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "outDir": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": true, + "exclude": true, + "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": "/home/src/projects/project/app/Component-demos.ts", + "configFile": "/home/src/projects/project/app/tsconfig.json", + "diagnostics": [] + } + } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -732,11 +686,44 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: *new* + {"pollingInterval":500} +/home/src/projects/project/demos/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/projects/project/app/Component.ts: + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/demos/helpers.ts: + {} +/home/src/projects/project/demos/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} +/home/src/tslibs/TS/Lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/project: + {} +/home/src/projects/project/app: + {} +/home/src/projects/project/demos: + {} + Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 + projectStateVersion: 1 + projectProgramVersion: 1 *changed* dirty: false *changed* + initialLoadPending: false *changed* /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -747,6 +734,29 @@ Projects:: dirty: false *changed* autoImportProviderHost: false +ScriptInfos:: +/home/src/projects/project/app/Component-demos.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json *default* +/home/src/projects/project/app/Component.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/app/tsconfig.json *new* +/home/src/projects/project/demos/helpers.ts + version: Text-1 + containingProjects: 2 + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /home/src/projects/project/tsconfig.json + /home/src/projects/project/demos/tsconfig.json + /home/src/projects/project/app/tsconfig.json *new* + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: /home/src/projects/project/demos/tsconfig.json @@ -759,9 +769,9 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 3 -4: /home/src/projects/project/app/tsconfig.json -5: /home/src/projects/project/tsconfig.json -6: *ensureProjectForOpenFiles* +3: /home/src/projects/project/app/tsconfig.json +4: /home/src/projects/project/tsconfig.json +5: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -778,13 +788,13 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -4: /home/src/projects/project/app/tsconfig.json *new* -5: /home/src/projects/project/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +3: /home/src/projects/project/app/tsconfig.json *new* +4: /home/src/projects/project/tsconfig.json *new* +5: *ensureProjectForOpenFiles* *new* Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* + projectStateVersion: 2 *changed* projectProgramVersion: 1 dirty: true *changed* /home/src/projects/project/demos/tsconfig.json (Configured) @@ -819,7 +829,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" @@ -886,7 +896,6 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -919,7 +928,7 @@ After running Timeout callback:: count: 0 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 3 + projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* /home/src/projects/project/demos/tsconfig.json (Configured) @@ -951,6 +960,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/random/tsconfig.json, currentDirectory: /home/src/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/tsconfig.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { + "rootNames": [ + "/home/src/projects/random/random.ts" + ], + "options": { + "configFilePath": "/home/src/projects/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -961,14 +978,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { - "rootNames": [ - "/home/src/projects/random/random.ts" - ], - "options": { - "configFilePath": "/home/src/projects/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json @@ -1124,7 +1133,7 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 3 + projectStateVersion: 2 projectProgramVersion: 1 /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 @@ -1148,8 +1157,8 @@ ScriptInfos:: /home/src/projects/project/app/Component.ts version: Text-1 containingProjects: 2 - /home/src/projects/project/app/tsconfig.json /home/src/projects/project/tsconfig.json + /home/src/projects/project/app/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 containingProjects: 2 @@ -1162,9 +1171,9 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json + /home/src/projects/project/app/tsconfig.json /home/src/projects/random/tsconfig.json *new* Before request @@ -1250,7 +1259,7 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 3 + projectStateVersion: 2 projectProgramVersion: 1 /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 @@ -1275,8 +1284,8 @@ ScriptInfos:: /home/src/projects/project/app/Component.ts version: Text-1 containingProjects: 2 - /home/src/projects/project/app/tsconfig.json /home/src/projects/project/tsconfig.json + /home/src/projects/project/app/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 containingProjects: 2 @@ -1290,9 +1299,9 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 - /home/src/projects/project/app/tsconfig.json /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json + /home/src/projects/project/app/tsconfig.json /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js index 6a3153e00cd1e..8bcbb50558ad8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -121,105 +111,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 34, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": true, - "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": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -241,8 +135,19 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { @@ -268,6 +173,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/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] 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 @@ -456,9 +362,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -488,8 +393,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* @@ -520,7 +423,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -538,8 +443,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *new* version: Text-1 @@ -548,8 +452,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -589,7 +492,9 @@ Timeout callback:: count: 3 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 @@ -685,7 +590,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -701,7 +606,7 @@ Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-dem Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -734,8 +639,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules: *new* @@ -768,7 +671,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* @@ -787,8 +692,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *deleted* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -797,8 +701,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -821,6 +724,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/random/tsconfig.json, currentDirectory: /home/src/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/tsconfig.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { + "rootNames": [ + "/home/src/projects/random/random.ts" + ], + "options": { + "configFilePath": "/home/src/projects/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -831,14 +742,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { - "rootNames": [ - "/home/src/projects/random/random.ts" - ], - "options": { - "configFilePath": "/home/src/projects/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json @@ -921,7 +824,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -959,8 +862,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules: @@ -999,7 +900,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 @@ -1019,8 +922,7 @@ ScriptInfos:: /home/src/projects/project/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1033,8 +935,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* @@ -1052,7 +953,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1085,8 +986,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules: @@ -1127,7 +1026,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 @@ -1148,8 +1049,7 @@ ScriptInfos:: /home/src/projects/project/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1163,8 +1063,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json @@ -1210,7 +1109,9 @@ Timeout callback:: count: 3 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 @@ -1315,7 +1216,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1335,7 +1236,7 @@ Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-dem Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1370,8 +1271,6 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1416,7 +1315,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* @@ -1440,8 +1341,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* *new* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1454,8 +1354,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js index 30e27013e0eaa..026c0897cc0d8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -121,105 +111,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 34, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": true, - "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": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -241,8 +135,19 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { @@ -268,6 +173,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/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] 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 @@ -456,9 +362,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -488,8 +393,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* @@ -520,7 +423,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -538,8 +443,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *new* version: Text-1 @@ -548,8 +452,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -589,7 +492,9 @@ Timeout callback:: count: 3 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 @@ -685,7 +590,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -701,7 +606,7 @@ Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-dem Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -734,8 +639,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules: *new* @@ -768,7 +671,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* @@ -787,8 +692,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *deleted* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -797,8 +701,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -843,7 +746,9 @@ Timeout callback:: count: 3 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 @@ -943,7 +848,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -959,7 +864,7 @@ Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-dem Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -990,8 +895,6 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1028,7 +931,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* @@ -1047,8 +952,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* *new* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1057,8 +961,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -1081,6 +984,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/random/tsconfig.json, currentDirectory: /home/src/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/tsconfig.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { + "rootNames": [ + "/home/src/projects/random/random.ts" + ], + "options": { + "configFilePath": "/home/src/projects/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1091,14 +1002,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { - "rootNames": [ - "/home/src/projects/random/random.ts" - ], - "options": { - "configFilePath": "/home/src/projects/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json @@ -1181,7 +1084,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1217,8 +1120,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1255,7 +1156,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 3 projectProgramVersion: 3 @@ -1276,8 +1179,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1290,8 +1192,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* @@ -1309,7 +1210,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1340,8 +1241,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1380,7 +1279,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 3 projectProgramVersion: 3 @@ -1402,8 +1303,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1417,8 +1317,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js index a634cf0bba91c..75e00089ef1df 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -121,105 +111,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 34, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": true, - "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": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -241,8 +135,19 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { @@ -268,6 +173,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/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] 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 @@ -456,9 +362,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -488,8 +393,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* @@ -520,7 +423,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -538,8 +443,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *new* version: Text-1 @@ -548,8 +452,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -661,6 +564,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/random/tsconfig.json, currentDirectory: /home/src/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/tsconfig.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { + "rootNames": [ + "/home/src/projects/random/random.ts" + ], + "options": { + "configFilePath": "/home/src/projects/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -671,14 +582,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { - "rootNames": [ - "/home/src/projects/random/random.ts" - ], - "options": { - "configFilePath": "/home/src/projects/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json @@ -761,7 +664,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -797,8 +700,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -835,7 +736,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -857,8 +760,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -871,8 +773,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* @@ -890,7 +791,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -921,8 +822,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -961,7 +860,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -984,8 +885,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -999,8 +899,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json @@ -1023,7 +922,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component-demos.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1052,8 +951,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1094,7 +991,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true noOpenRef: true *changed* /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 1 @@ -1121,8 +1020,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1135,8 +1033,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json @@ -1161,23 +1058,9 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/ran Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/projects/project/app/Component.ts - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -1263,8 +1146,6 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1307,7 +1188,9 @@ FsWatchesRecursive *deleted*:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *deleted* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true isClosed: true *changed* noOpenRef: true /home/src/projects/project/demos/tsconfig.json (Configured) *deleted* @@ -1337,7 +1220,6 @@ ScriptInfos:: /home/src/projects/project/app/Component.ts *deleted* version: Text-1 containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/project/tsconfig.json *deleted* /home/src/projects/project/demos/helpers.ts *deleted* version: Text-1 @@ -1353,7 +1235,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/random/tsconfig.json - /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/project/tsconfig.json *deleted* /home/src/projects/project/demos/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js index 8609097deaa34..2fe4aa2a0e663 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -121,105 +111,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 34, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": true, - "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": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -241,8 +135,19 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { @@ -268,6 +173,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/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] 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 @@ -456,9 +362,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -488,8 +393,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* @@ -520,7 +423,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -538,8 +443,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *new* version: Text-1 @@ -548,8 +452,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -562,10 +465,8 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] reload projects. -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -573,22 +474,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json, Ca Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -599,61 +484,11 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : "configFilePath": "/home/src/projects/project/app/tsconfig.json" } } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/tsconfig.json", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -675,6 +510,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { "rootNames": [ @@ -798,10 +643,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -817,7 +661,7 @@ Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-dem Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -833,7 +677,7 @@ Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-dem Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] After reloading projects.. Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -863,16 +707,12 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} *new* /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} *new* /home/src/projects/project/node_modules/@types: {"pollingInterval":500} PolledWatches *deleted*:: -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} @@ -901,9 +741,11 @@ FsWatchesRecursive:: Timeout callback:: count: 0 Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* +/home/src/projects/project/app/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js index 06320321a5e2c..f8d406a5f3a13 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -121,105 +111,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 34, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": true, - "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": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -241,8 +135,19 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { @@ -268,6 +173,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/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] 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 @@ -456,9 +362,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -488,8 +393,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* @@ -520,7 +423,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -538,8 +443,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *new* version: Text-1 @@ -548,8 +452,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -570,7 +473,9 @@ Timeout callback:: count: 1 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -585,7 +490,7 @@ Projects:: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -602,7 +507,7 @@ Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/h Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -649,6 +554,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/random/tsconfig.json, currentDirectory: /home/src/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/tsconfig.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { + "rootNames": [ + "/home/src/projects/random/random.ts" + ], + "options": { + "configFilePath": "/home/src/projects/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -659,14 +572,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { - "rootNames": [ - "/home/src/projects/random/random.ts" - ], - "options": { - "configFilePath": "/home/src/projects/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json @@ -749,7 +654,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -785,8 +690,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -823,7 +726,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -846,8 +751,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -860,8 +764,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* @@ -879,7 +782,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -910,8 +813,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -950,7 +851,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -974,8 +877,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -989,8 +891,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json @@ -1034,7 +935,9 @@ Timeout callback:: count: 2 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1109,7 +1012,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1128,10 +1031,9 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1166,7 +1068,9 @@ After running Timeout callback:: count: 0 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js index 73f1f8d4263ee..128883f274394 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -121,105 +111,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 34, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": true, - "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": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -241,8 +135,19 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { @@ -268,6 +173,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/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] 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 @@ -456,9 +362,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -488,8 +393,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* @@ -520,7 +423,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -538,8 +443,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *new* version: Text-1 @@ -548,8 +452,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -570,7 +473,9 @@ Timeout callback:: count: 1 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -585,7 +490,7 @@ Projects:: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -602,7 +507,7 @@ Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/h Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -669,7 +574,9 @@ Timeout callback:: count: 2 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -739,7 +646,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -754,10 +661,9 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -788,7 +694,9 @@ After running Timeout callback:: count: 0 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -817,6 +725,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/random/tsconfig.json, currentDirectory: /home/src/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/tsconfig.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { + "rootNames": [ + "/home/src/projects/random/random.ts" + ], + "options": { + "configFilePath": "/home/src/projects/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -827,14 +743,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { - "rootNames": [ - "/home/src/projects/random/random.ts" - ], - "options": { - "configFilePath": "/home/src/projects/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json @@ -917,7 +825,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -953,8 +861,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -991,7 +897,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1012,8 +920,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1026,8 +933,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* @@ -1045,7 +951,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1076,8 +982,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1116,7 +1020,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1138,8 +1044,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1153,8 +1058,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js index 867efd8fbcc77..7fbd4b58312e1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -121,105 +111,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 34, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": true, - "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": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -241,8 +135,19 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { @@ -268,6 +173,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/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] 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 @@ -456,9 +362,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -488,8 +393,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* @@ -520,7 +423,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -538,8 +443,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *new* version: Text-1 @@ -548,8 +452,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -581,7 +484,9 @@ Timeout callback:: count: 2 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -659,7 +564,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -676,7 +581,7 @@ Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/h Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -709,8 +614,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules: *new* @@ -743,7 +646,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -773,6 +678,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/random/tsconfig.json, currentDirectory: /home/src/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/tsconfig.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { + "rootNames": [ + "/home/src/projects/random/random.ts" + ], + "options": { + "configFilePath": "/home/src/projects/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -783,14 +696,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { - "rootNames": [ - "/home/src/projects/random/random.ts" - ], - "options": { - "configFilePath": "/home/src/projects/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json @@ -901,7 +806,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -935,8 +840,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -981,7 +884,9 @@ FsWatchesRecursive *deleted*:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 @@ -1004,8 +909,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *deleted* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *changed* version: Text-1 @@ -1018,8 +922,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 *changed* /home/src/projects/project/tsconfig.json /home/src/projects/random/tsconfig.json *new* /home/src/projects/project/demos/tsconfig.json *deleted* @@ -1037,7 +940,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1066,8 +969,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1102,7 +1003,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 @@ -1119,8 +1022,7 @@ ScriptInfos:: /home/src/projects/project/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1133,8 +1035,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/random/tsconfig.json @@ -1174,7 +1075,9 @@ Timeout callback:: count: 2 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 @@ -1279,7 +1182,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1349,10 +1252,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1387,8 +1289,6 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1433,7 +1333,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1456,8 +1358,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* *new* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *changed* version: Text-1 @@ -1470,8 +1371,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json /home/src/projects/random/tsconfig.json /home/src/projects/project/demos/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js index 05431ab2025d4..7d683a246d553 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/app/tsconfig.json, currentDirectory: /home/src/projects/project/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component.ts" @@ -121,105 +111,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -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/app/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/app/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/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/app/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "e045cfff085eecf970c7400c2ccce12615df3b6cac3c69591527cc19e385b065", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 34, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": true, - "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": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/app/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/app/Component-demos.ts", @@ -241,8 +135,19 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { @@ -268,6 +173,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/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] 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 @@ -456,9 +362,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -488,8 +393,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* @@ -520,7 +423,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -538,8 +443,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts *new* version: Text-1 @@ -548,8 +452,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json + containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json @@ -581,7 +484,9 @@ Timeout callback:: count: 2 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -659,7 +564,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -676,7 +581,7 @@ Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/h Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -709,8 +614,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules: *new* @@ -743,7 +646,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -790,7 +695,9 @@ Timeout callback:: count: 2 Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -872,7 +779,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -887,10 +794,9 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -921,8 +827,6 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -959,7 +863,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -989,6 +895,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/random/tsconfig.json, currentDirectory: /home/src/projects/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/tsconfig.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { + "rootNames": [ + "/home/src/projects/random/random.ts" + ], + "options": { + "configFilePath": "/home/src/projects/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -999,14 +913,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { - "rootNames": [ - "/home/src/projects/random/random.ts" - ], - "options": { - "configFilePath": "/home/src/projects/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json @@ -1089,7 +995,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1125,8 +1031,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1163,7 +1067,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1184,8 +1090,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1198,8 +1103,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json *default* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json *new* @@ -1217,7 +1121,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -1248,8 +1152,6 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} /home/src/projects/project/demos/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1288,7 +1190,9 @@ FsWatchesRecursive:: Projects:: /home/src/projects/project/app/tsconfig.json (Configured) projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true /home/src/projects/project/demos/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1310,8 +1214,7 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json *default* /home/src/projects/project/app/Component.ts version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json + containingProjects: 1 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/helpers.ts version: Text-1 @@ -1325,8 +1228,7 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json + containingProjects: 3 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json 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 be6d7122d7dc5..93fcf65868d77 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 @@ -216,16 +216,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/src/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/src/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/src/file1.ts" @@ -265,6 +255,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/src/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/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 5ae1980798ca9..e8402c091b067 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 @@ -88,16 +88,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/packages/consumer/src/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/packages/consumer/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/packages/consumer/tsconfig.json, currentDirectory: /user/username/projects/myproject/packages/consumer Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/packages/consumer/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/packages/consumer/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/consumer/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/packages/consumer/src/index.ts" @@ -112,6 +102,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/packages/cons } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/packages/consumer/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/packages/consumer/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/src 1 undefined Config: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/src 1 undefined Config: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/consumer/tsconfig.json 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 d64149787c85c..20a1e693c740b 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 @@ -96,16 +96,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/solution/compiler/program.ts ProjectRootPath: undefined:: Result: /user/username/projects/solution/compiler/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/solution/compiler/tsconfig.json, currentDirectory: /user/username/projects/solution/compiler Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/compiler/tsconfig.json 2000 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/solution/compiler/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/solution/compiler/program.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/compiler/tsconfig.json : { "rootNames": [ "/user/username/projects/solution/compiler/types.ts", @@ -118,6 +108,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/solution/compiler/tscon "configFilePath": "/user/username/projects/solution/compiler/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/solution/compiler/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/solution/compiler/program.ts to open" + } + } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/compiler/types.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/compiler/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js b/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js index 4895c2b4b0979..4cfa521a2dedc 100644 --- a/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js +++ b/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js @@ -67,16 +67,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/index.d.ts ProjectRootPath: /home/src/projects/project:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/index.d.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/index.d.ts" @@ -91,6 +81,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/index.d.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 0 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 0 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json @@ -186,98 +186,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.node.json, currentDirectory: /home/src/projects/project -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.node.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/src/index.d.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.node.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.node.json WatchType: Type roots -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.node.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.node.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.node.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.node.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.node.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /home/src/projects/project/src/index.ts Text-1 "const api = {}\n" - - - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - src/index.ts - Matched by include pattern 'src/**/*' in 'tsconfig.node.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.node.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1e7c125feb7a2a7047f05d3ea96f5c07aebb6404fadc111f1dab518d4196edea", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 1, - "tsSize": 15, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 413, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "other", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/src/index.d.ts", - "configFile": "/home/src/projects/project/tsconfig.node.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: /home/src/projects/project:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -343,10 +251,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/home/src/projects/project/tsconfig.node.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /home/src/projects/project/src/index.d.ts (Open) *new* @@ -355,14 +259,12 @@ ScriptInfos:: /dev/null/inferredProject1* *default* /home/src/projects/project/src/index.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/tsconfig.json - /home/src/projects/project/tsconfig.node.json /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/tsconfig.json - /home/src/projects/project/tsconfig.node.json /dev/null/inferredProject1* TI:: [hh:mm:ss:mss] Global cache location '/home/src/Library/Caches/typescript', safe file path '/home/src/tslibs/TS/Lib/typingSafeList.json', types map path /home/src/tslibs/TS/Lib/typesMap.json @@ -479,10 +381,6 @@ TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discove Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.node.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) @@ -547,10 +445,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/home/src/projects/project/tsconfig.node.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true Before request diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index 59e990775fb77..481c61c7d0a7e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index 800e07a9a39cc..96b981c4b59da 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index 68c3b96cab9d3..edd8e1fc829d0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index 9f7e5402872da..575f91149e267 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 eb9a1d0ed9755..7ee0d87a07596 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 7771d6c6d51bf..7aeef8c6f9c7c 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 0fa89a9297e34..b958eeb722738 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 @@ -216,16 +216,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -237,6 +227,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -394,6 +394,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -404,14 +412,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 9eef9a5bfd223..5e13e83abb8e8 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 8bf2e3af95cb4..89a9a4e526516 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 @@ -216,16 +216,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -237,6 +227,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -394,6 +394,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -404,14 +412,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index aa41fa2fe16d4..dfe59e38f2568 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index fdc594fe0cac1..6d255c619ecfc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 4407ca92b4c9c..e28db8ce20c22 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 066fb8bb56e44..a313f2343cb71 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index 2f22e94b67475..a7e4eda9b387f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index e4316027587d3..55d7f6a1dabf3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index ed79586989b7b..86b3d88aa9aab 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index f4b27ee7af6cb..7216c5e2f9169 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 1fae8ac57105b..d4706183a934a 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 c383f7a5cabd3..139037394c779 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 e2e3b246a1356..42e429265c05d 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -242,6 +232,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -399,6 +399,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -409,14 +417,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 ddcfff0798069..412a07d5eab88 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 dd08af349b832..3d161149f50e4 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -242,6 +232,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -399,6 +399,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -409,14 +417,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 23a6e797e1be4..b0f89ce3cffd1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 7eb6f3ea52db9..784e2f5e903f7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 2ec2fe600b224..e08d0a072c9cc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index b4e1d5d49b77d..fc5cf76e951ea 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 b9c366bd9982c..9b9b9d140ae25 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 fe36714a00d1b..73e055820afbe 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 b7d2d0ccc4bc0..34ef013ee2ad7 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -245,6 +235,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -402,6 +402,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -412,14 +420,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js index 6704f0e02e6fe..9a44e72076171 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js index aae30ec399ff4..ce08f706a990a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index 967d94f944109..d221a4c651090 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index 0993115d0fd33..4abbbf770b972 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 d78695f8d781c..8b46d845a13f0 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 ae61475feea92..c08af856555f0 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 fc1af21c5cae1..67021b7b2e16a 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -242,6 +232,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -399,6 +399,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -409,14 +417,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 c618e514e72f9..772002540b618 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 3367a3d05bb30..ef6158ed71525 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -242,6 +232,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -399,6 +399,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -409,14 +417,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index b01205a32fe88..0274bbcd9506b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index 545a977854d9e..35026208f44d4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 041fb6be1bd91..36d9059b1b027 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 9131054123bcc..6119bb121aa95 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index 86bfbbd9a03f1..a2ff6dfe17993 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index d199cae1b6748..df4c2ab4a3918 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index a2d29b9dfeb94..52c4a1909fa68 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index eab13abb013a7..423cc929d0c84 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 b057dd5e2eefa..62a2aa87ac0f4 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 0e7abe74f784a..42cf36db95a2d 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 41a359d365bf3..bd72f7ba20bb6 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 @@ -226,16 +226,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -247,6 +237,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -404,6 +404,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -414,14 +422,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 b8847d314ead0..f7bade2ae3492 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 f6e2151cd1dd5..5d3774aa849d5 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 @@ -226,16 +226,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -247,6 +237,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -404,6 +404,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -414,14 +422,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index b2892be122039..1b55c5bf8e625 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index ce85daafaf86d..b8e00fcb6de64 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index d158aca861a70..db5c6bfc16734 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index e360836971ee0..775912569f36f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 eafbb948ef5dc..8f16f8e1f150d 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 933d45999dc11..e54f0661d96fd 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 956142d559475..251a1c518c53e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 5b6ece4234d5e..57a1642953ada 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 37f6fa92eb590..bf4628ee3987b 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -250,6 +240,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -407,6 +407,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -417,14 +425,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 520bacc938f44..082ba39cad7c3 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 @@ -83,16 +83,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -104,6 +94,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -261,6 +261,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -271,14 +279,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index 01a19f5f0e6a6..a744186d96e3a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index 6cb332c9b2afb..aa4c5aa0718e5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index 6136815d20f6d..81e6085e73a67 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index 55d2c88b704df..fc4f8c4151885 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 9d7f9f56db8f9..41466b5645272 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 341de013036b2..98c270db229ad 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 6666712aae378..4eeb002617615 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 @@ -222,16 +222,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -243,6 +233,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -400,6 +400,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -410,14 +418,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 c11c58f3059ea..d3a9336c31252 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 39535afd69f3e..1f97d8a8d095f 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 @@ -222,16 +222,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -243,6 +233,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -400,6 +400,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -410,14 +418,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index 5c56625137cad..8f617f46e903b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index bb832c3fe1bdd..319d447f4cfa1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 133308d7e7bbb..05a89c1b4c4d7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index 84a1c3657bcbe..bd5233b5bdbfd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index 2c95dc3c8ecb7..ac69235575435 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index 44d7b3e0449d0..d3536f7332cef 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 6bd896a6c5b5c..79d3e68aae790 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index cd39d8e394719..e1508b990acc4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 94a6901ad29c2..7bb2db7447a87 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 9a0dd24b273aa..733558714dcdf 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 32115402b8a10..94ff0a151722a 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 @@ -227,16 +227,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -248,6 +238,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -405,6 +405,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -415,14 +423,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 fd77e37402461..a386d08e2c813 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 4286c958bbed9..db1aea36b4b94 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 @@ -227,16 +227,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -248,6 +238,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -405,6 +405,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -415,14 +423,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 9298949df5b6b..8ce339f2af5bf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index ee14d4f5b0398..dbc4d8db23b8e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 7304bc96b4ddd..9ff56f4aecc34 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 188da39c9a4dd..fd9b70d390a43 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 241b249973cc4..8b15fc5e2b33b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 e1e7a69fce5c8..f4995bf9ddb14 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 733761338ce9b..05fdcd607495b 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -251,6 +241,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -408,6 +408,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -418,14 +426,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index 10ad6a8165c31..f89669115bf0d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index f65563ab3c4d7..d4b1413c590a5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index 42ecb005b0518..979a2aa2df6c1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index 95d615ee7484d..1bddb51ad37f4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 0114dd4ba0fbf..0d088d4bd0caa 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 896702aae291c..c76c69e230dde 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/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 9d3cecd58c740..9a1967bf85990 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 @@ -216,16 +216,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -236,6 +226,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -396,16 +396,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -417,6 +407,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -596,6 +596,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -606,14 +614,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 a9dbcc5b1614c..f46ab50343f1d 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 ee47131073363..29dc21b4282c9 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 @@ -216,16 +216,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -236,6 +226,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -396,16 +396,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -417,6 +407,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -596,6 +596,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -606,14 +614,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index ffd69e2e12fb2..32720c09e07d5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index 1a7e04e7ed520..cc61e318ac21f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 82b5c8e0cb5e1..fe2f3fa3dbd2f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index fabfebf064e10..eadd2415c5168 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index f523b9a170c94..e51016a7ba7cb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index da6f081d19fca..5032fb4650303 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 5db94980178f0..aa3279cfc95bb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 78b02e4755f84..3d4fd051822da 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 140312feeac7d..2302fed17d4d2 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 f0078c7013bda..23e176959080d 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/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 fb7695e3dc406..ec30620bad72b 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -241,6 +231,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -411,16 +411,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -432,6 +422,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -617,6 +617,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -627,14 +635,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 d5aee2e9bd0cd..49d6f3f42f022 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 b29af930e17ab..555ff8fcf73ad 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -241,6 +231,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -411,16 +411,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -432,6 +422,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -617,6 +617,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -627,14 +635,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 1e374e282b8b8..17e4a821da9bf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 3f5f3bddb5044..eabf53a218858 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index ca6a69f0bb912..2442a65bca19f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 6f3946d525aac..690551564fc4c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js index 3e8bfaa986af4..210d4ea09a50a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -418,16 +418,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating project for original file: /user/username/projects/myproject/dependency/FnS.ts for location: /user/username/projects/myproject/decls/fns.d.ts" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -439,6 +429,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating project for original file: /user/username/projects/myproject/dependency/FnS.ts for location: /user/username/projects/myproject/decls/fns.d.ts" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -521,7 +521,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/dependency/tsconfig.json", + "triggerFile": "/user/username/projects/myproject/dependency/FnS.ts", "configFile": "/user/username/projects/myproject/dependency/tsconfig.json", "diagnostics": [] } @@ -1116,6 +1116,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1126,14 +1134,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 1d0334a0df608..0680cd5db4b5f 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 1ef03fc5988df..b4bfbf6ca5477 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 e310eee33c587..16176505e676e 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,16 +414,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/dependency/tsconfig.json, currentDirectory: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/dependency/FnS.ts" @@ -435,6 +425,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/dependency/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/dependency/FnS.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json @@ -620,6 +620,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -630,14 +638,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js index 88205f0d3561d..8d9194256f6ac 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js index 6fc7b339233c4..6cdace6d2c848 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index 24e793b88a892..ac3f5c2a95713 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index 483a2b8bb1878..f91ea55cb1d81 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 0efcb80743667..755afb8156540 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 34ad5942134d0..1e6bbb3ee7d55 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 4e2be5f411df1..55ce5b386ae0a 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -247,6 +237,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -628,6 +628,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -638,14 +646,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 5126693e64951..839ed8ebcb3fb 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 12220d2bd1839..81bb711a16ef4 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -247,6 +237,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -628,6 +628,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -638,14 +646,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index d9438ed5ed47d..61de7454cdd72 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index 7cf54a0292f4f..e11fb695abbe2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 21d2b5d50108d..ca5c19a99b730 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 3da7f8a2666a8..0e491ff23f07c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index a64ffe8f57cee..7261c5a796df3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index 4bdce466c003b..05e2bf2d704b0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index d55f7a0baae52..388a5b4985af5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 47451507930be..bb1fb3f91e2db 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 405f878b45230..4c32e23bb6b5e 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 d2f4cfe6e03ae..c17936ebbbac4 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 d9aff5d91afab..0093893c2a96a 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 @@ -226,16 +226,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -252,6 +242,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -633,6 +633,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -643,14 +651,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 8cbea66b01581..749f4ef9dd489 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 785408cdf7b35..0dd103ff1abfc 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 @@ -226,16 +226,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -252,6 +242,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -633,6 +633,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -643,14 +651,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 6c7e8ea92d010..a1ae34bccc8da 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 24e9cfed815f3..f324302eae032 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 5e2b1b5f7578a..d9b65dab6ce54 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 7cf7ac721261e..eeb475cbf76ca 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 763488f3860a0..7dc1cf9bd0748 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 c15a0e8d54246..c1a42f935d338 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js index d5a40da772524..a6764101c6cee 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -534,7 +534,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/dependency/tsconfig.json", + "triggerFile": "/user/username/projects/myproject/dependency/FnS.ts", "configFile": "/user/username/projects/myproject/dependency/tsconfig.json", "diagnostics": [] } @@ -1106,6 +1106,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1116,14 +1124,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json @@ -3513,14 +3513,6 @@ Projects:: 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] Config: /user/username/projects/myproject/dependency/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/dependency/FnS.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info @@ -4875,14 +4867,6 @@ Projects:: 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] Config: /user/username/projects/myproject/dependency/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/dependency/FnS.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info @@ -5072,7 +5056,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/random/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -5117,6 +5100,8 @@ FsWatches:: {} /user/username/projects/myproject/decls/fns.d.ts: {} +/user/username/projects/myproject/dependency/FnS.ts: + {} /user/username/projects/myproject/dependency/tsconfig.json: {} /user/username/projects/myproject/main/tsconfig.json: @@ -5125,8 +5110,6 @@ FsWatches:: {} FsWatches *deleted*:: -/user/username/projects/myproject/dependency/FnS.ts: - {} /user/username/projects/myproject/random/random.ts: {} @@ -5167,7 +5150,7 @@ ScriptInfos:: version: Text-4 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json -/user/username/projects/myproject/dependency/FnS.ts *deleted* +/user/username/projects/myproject/dependency/FnS.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -5235,6 +5218,8 @@ FsWatches:: {} /user/username/projects/myproject/decls/fns.d.ts: {} +/user/username/projects/myproject/dependency/FnS.ts: + {} /user/username/projects/myproject/dependency/tsconfig.json: {} /user/username/projects/myproject/main/tsconfig.json: @@ -5281,6 +5266,10 @@ ScriptInfos:: version: Text-4 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/main.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -5350,12 +5339,11 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 10 projectProgramVersion: 5 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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/dependency/FnS.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" + /user/username/projects/myproject/dependency/FnS.ts Text-1 "export 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" @@ -5390,19 +5378,8 @@ Info seq [hh:mm:ss:mss] event: } } 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: 4 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) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/dependency/FnS.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - - - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - FnS.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 4 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: { "seq": 0, @@ -5487,7 +5464,7 @@ FsWatches:: {} /user/username/projects/myproject/decls/fns.d.ts: {} -/user/username/projects/myproject/dependency/FnS.ts: *new* +/user/username/projects/myproject/dependency/FnS.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -5537,11 +5514,11 @@ ScriptInfos:: version: Text-4 containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* -/user/username/projects/myproject/dependency/FnS.ts *new* - version: Text-2 - containingProjects: 2 - /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + version: Text-1 + containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *new* /user/username/projects/myproject/main/main.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -5659,10 +5636,10 @@ ScriptInfos:: version: Text-4 containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts - version: Text-2 + version: Text-1 containingProjects: 2 - /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/main/main.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -5770,10 +5747,10 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts - version: Text-2 + version: Text-1 containingProjects: 2 - /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/main/main.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -5845,7 +5822,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) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" - /user/username/projects/myproject/dependency/FnS.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" + /user/username/projects/myproject/dependency/FnS.ts Text-1 "export 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] ----------------------------------------------- @@ -5861,7 +5838,7 @@ Info seq [hh:mm:ss:mss] event: } } 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: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 5 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: { @@ -6050,10 +6027,10 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts - version: Text-2 + version: Text-1 containingProjects: 2 - /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/main/main.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -6161,10 +6138,10 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts - version: Text-2 + version: Text-1 containingProjects: 2 - /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/main/main.ts (Open) version: SVC-1-0 containingProjects: 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 7b501b9c19f09..6fbf64ecbab7b 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 8a4122bd4fec2..8c391932a2816 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 2022b15a26e88..97cf5539d5575 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -636,6 +636,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -646,14 +654,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 59130f57f9366..8c609ddd3907e 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 @@ -83,16 +83,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -109,6 +99,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -490,6 +490,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -500,14 +508,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index a60c157daac34..6b35ce57192c3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index d05275970e75c..59302c855cd36 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index f598a53ab417d..66716f7d1bf35 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index abbc27b60b351..48add41de4bb2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 fe17200143be7..13cab0ac35d93 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 2ae496a6e6582..0d2860807d2bf 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/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 e25e269e59abf..786be92c165de 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 @@ -222,16 +222,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -249,6 +239,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -614,6 +614,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -624,14 +632,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 6956288319ffc..abe681b03b3d8 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 243cd014940ec..5759e7a45b10d 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 @@ -222,16 +222,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -249,6 +239,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -614,6 +614,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -624,14 +632,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index 4f8f3ee39187c..ecf9711e184f9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index 7c71ebda6fe51..c7f05f0be6730 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index be3bc69d5c65d..b343fe0ca045c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index 1cc0aebeb71a1..6b00f4473e929 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index f51460a9e4b3a..362786ebe53e4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index ca962fe863833..f938ccf887b48 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index edf6849df1f0a..4bdfb5e041f31 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index c2e22cec680ea..ca39a1fd7db94 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 e5f1033f75075..df6948ba5f264 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 b745d2219bf6e..820de468ef12b 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/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 025495876f1bf..b2fe0cf9b33eb 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 @@ -227,16 +227,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -254,6 +244,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -635,6 +635,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -645,14 +653,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 316ad48364ae6..d27975602052a 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 efd823c807821..fc89ed4bd2540 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 @@ -227,16 +227,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -254,6 +244,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -635,6 +635,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -645,14 +653,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 5ee12b3b20ab4..d750cfafa0f46 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 72a9036b624e2..eda806b54d49f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 48cc0eb167d1d..7354ca47dadf0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 4df4550d5330e..10bd4f4df3530 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js index dd85e95fa8d04..dde3ffeb30029 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -539,7 +539,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/dependency/tsconfig.json", + "triggerFile": "/user/username/projects/myproject/dependency/FnS.ts", "configFile": "/user/username/projects/myproject/dependency/tsconfig.json", "diagnostics": [] } @@ -1147,6 +1147,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1157,14 +1165,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json @@ -3712,14 +3712,6 @@ Projects:: 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] Config: /user/username/projects/myproject/dependency/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/dependency/FnS.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 6 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -5084,14 +5076,6 @@ Projects:: 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] Config: /user/username/projects/myproject/dependency/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/dependency/FnS.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 9 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms 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 7c6efca056078..37ab4a7e41678 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 ed50b987a506c..b28bafd0a7a2c 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 c96b681182115..e2c55642ec8b9 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -638,6 +638,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -648,14 +656,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 0b77a0af1b319..a90ddb1bfa803 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index 4b6ac0f17fe0c..df11b0a1be24f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index 6c1641e53a97a..8b8638d2f8417 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index 7fcd0b75f7be8..38066af041849 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index 8404a70efcce8..a517dd2fb5edc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 9d612f5aab7a8..2da938c46ae33 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 bb10519571bdd..3711e4bf96024 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 cef290ed765f4..847a17d971ee9 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 @@ -216,16 +216,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -236,6 +226,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -396,6 +396,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -406,14 +414,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 898d9e60dc38f..01e649ba26c95 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 9f9fbb2bcc191..0d08ea4e02eab 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 @@ -216,16 +216,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -236,6 +226,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -396,6 +396,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -406,14 +414,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index 022a344ad82ee..f46b782a9ddb9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index eeaf1055233a8..2d2f5c04ff596 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index bbee22ec8d79a..27ec2fa303912 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index b4524c7192bdb..269ec7329392b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index 68186d8a6fe8d..e259b479c2b47 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index c5e1a91ff414d..999c3ecd00bee 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 28e7e732e309d..1a051ac14b201 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 38d8e1d92860f..a79aa8db64f7d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 79fbd55436854..5c5364fe557fc 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 c89f3b3793ae1..42336d0b04890 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 0417bd42d45fa..cedba3b5a2206 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -241,6 +231,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -411,6 +411,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -421,14 +429,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 71d7456289ad8..2001d25172d82 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 d86bf8a0ded48..cb79ad5780f53 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -241,6 +231,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -411,6 +411,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -421,14 +429,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 5548e96cd3a6d..70a6e49b8e979 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index e4727a06f2e6b..b9a3da9286aef 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 969a22e945f45..a4eff8c63d6ad 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 10f12a25172f0..02ee2eed5239e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 6affe2913e91b..2bb1286c13fc9 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 0f5c98a3f749c..af1486fe0d98f 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 @@ -224,16 +224,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -414,6 +414,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -424,14 +432,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 04bf4a104fd8d..cea2be2c13de0 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js index 1d41ebcaecd70..bbdf86b22c240 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js index 867d1421268e6..597acb78d1cac 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index 77f27dc1721c3..781c54256f946 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index 31623a0b615cd..efa76b44c6bc9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 c506aef4edead..23ce8e878010b 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 8fd0ba2acbb55..5432c159e5b3d 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 bc1643defbf9e..ad968ea30a05a 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -247,6 +237,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -435,6 +435,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -445,14 +453,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 621270caff785..148c36cc13572 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 3b74b5cde3eea..900b43a12156c 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 @@ -221,16 +221,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -247,6 +237,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -435,6 +435,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -445,14 +453,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index 12587bc3a8e6f..e4c927f8c43a3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index 9e6c802d8af82..3365b57b6750f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 7811c5e480a86..f548f701fd68e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index e3b676a53d618..48b39c05a2b3b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index dbb6c68f0c6ad..b2b46321ffa69 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index 5745bac3b18c9..45b96daa1cb46 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 1cc84e698bc38..2f46b10fcb088 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 3f299766e4762..16b847705c667 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 121f76459f421..1c016f5b935af 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 b760c7698bfbb..c827a4abcbd16 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 d429393e7386e..ce1fdf01a9ca9 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 @@ -226,16 +226,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -252,6 +242,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -440,6 +440,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -450,14 +458,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 2ae68101a1064..e5fb9482f4184 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 db4a982d8b7d8..ac9c56d161dfe 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 @@ -226,16 +226,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -252,6 +242,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -440,6 +440,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -450,14 +458,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 25e0297feb79e..3e5a3fa1f84e9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index a066566eed630..e92a1b4767048 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index a82d09099bea6..a32d9fd1e78d0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index fc7c67ace6195..cd84f4957b482 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 908bbdf0fda54..ed2a9938a1036 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 47bf5aa7cbea9..7c48dd60d1134 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 48b1efa5e082f..b696409f5e503 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 a46faafd43fbb..d8805c0300d42 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 @@ -229,16 +229,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -255,6 +245,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 ffd1a0423bc79..8cfe1325e6fcc 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 @@ -83,16 +83,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -109,6 +99,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -297,6 +297,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -307,14 +315,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 b8d54efaf2e8f..e0c806bacb58e 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index c25cea2bbb72b..bbee8b7ce352c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index 91a3e09d0367b..c75765bb8c9cf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index 8230ac9056474..c7326cf585625 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index d52f6422fada2..ba0cd84e7d52e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 6930074266d12..2f6cad50af97e 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 38f965873fe12..b13d279fc0106 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 4012fe25f951d..a5af6df0abcdb 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 @@ -222,16 +222,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -249,6 +239,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -428,6 +428,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -438,14 +446,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 7f836bc5413fc..c412fd781f121 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 df9ab90737988..882e93d5254e6 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 @@ -222,16 +222,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -249,6 +239,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -428,6 +428,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -438,14 +446,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index be0bfd0bc8909..7d837d44391c9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index 6e8b5a43ada25..324abf229937a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index c4bab32f42e4a..fc38bec3ee53e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index 39121a122d300..fc81bdbfd4cda 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index e426c31c7f568..4e50a4e904d95 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index 68c5288585b42..476cb914c3a7d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index f85fe62e2c61f..53218a981e9e2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index d116c726ed906..d9783f7087d03 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 2486b3f3937ef..01bbf4c79861e 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 612bc7540f87a..87a80c39acc32 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 138e218c0ac20..92e8c70225720 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 @@ -227,16 +227,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -254,6 +244,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 5336c7c023ac0..a99fed28a7f85 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 0f6886ad072fe..b127f70d24d41 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 @@ -227,16 +227,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -254,6 +244,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -443,6 +443,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -453,14 +461,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index d1959b5898b1f..45a87a03bd2b7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index dca8df0b802b0..2ce04812ded23 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index c5f57ac608d70..18da751c6a6f5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 99b288815c4a3..236a3354a92a4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 8f8d9d7043d5b..e7427533d647d 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json 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 f955f44f06a4a..d88d60eb78a6b 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 @@ -230,16 +230,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/main/tsconfig.json, currentDirectory: /user/username/projects/myproject/main Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/main/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/main/main.ts" @@ -257,6 +247,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/main/tsconfig } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/main/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/main/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json @@ -446,6 +446,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/random/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/random/tsconfig.json, currentDirectory: /user/username/projects/myproject/random Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/random/random.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -456,14 +464,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/random/random.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/random/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/random/random.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/random/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/random 1 undefined Config: /user/username/projects/myproject/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js index 780b8182999da..c4064037cfa37 100644 --- a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -101,16 +101,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/solution/projects/server/src/server.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/solution/projects/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/solution/projects/server/tsconfig.json, currentDirectory: /home/src/workspaces/solution/projects/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/server/tsconfig.json 2000 undefined Project: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/solution/projects/server/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/solution/projects/server/src/server.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/solution/projects/server/tsconfig.json : { "rootNames": [ "/home/src/workspaces/solution/projects/shared/src/logging.ts", @@ -139,6 +129,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/solution/projects/server/t ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/tsconfig.json 2000 undefined Config: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/solution/projects/server/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/solution/projects/server/src/server.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/shared/src 1 undefined Config: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/shared/src 1 undefined Config: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/server/src 1 undefined Config: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Wild card directory diff --git a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js index e4e69a94b0410..b4afe06ddfdb7 100644 --- a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js @@ -101,16 +101,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/solution/projects/server/src/server.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/solution/projects/server/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/solution/projects/server/tsconfig.json, currentDirectory: /home/src/workspaces/solution/projects/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/server/tsconfig.json 2000 undefined Project: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/solution/projects/server/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/solution/projects/server/src/server.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/solution/projects/server/tsconfig.json : { "rootNames": [ "/home/src/workspaces/solution/projects/server/src/server.ts", @@ -139,6 +129,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/solution/projects/server/t ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/tsconfig.json 2000 undefined Config: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/solution/projects/server/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/solution/projects/server/src/server.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/server/src 1 undefined Config: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/server/src 1 undefined Config: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/shared/src 1 undefined Config: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Wild card directory 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 6507223bfdfcd..225343395a215 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 @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/c/f.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/c/tsconfig.json, currentDirectory: /user/username/projects/project/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/c/tsconfig.json 2000 undefined Project: /user/username/projects/project/c/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/c/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/c/f.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/c/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/c/f.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/c/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/c/f.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/c/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/c 1 undefined Config: /user/username/projects/project/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/c 1 undefined Config: /user/username/projects/project/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/c/tsconfig.json @@ -224,6 +224,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/b/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/b/tsconfig.json, currentDirectory: /user/username/projects/project/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b/tsconfig.json 2000 undefined Project: /user/username/projects/project/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/b/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/b/app.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -234,14 +242,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/b/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/b/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/b/app.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 1 undefined Config: /user/username/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 1 undefined Config: /user/username/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/b/tsconfig.json 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 7545d2f3a3fe5..43e842019f570 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 @@ -45,6 +45,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/file1.ts", + "/user/username/projects/myproject/src/file2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -55,15 +64,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/file1.ts", - "/user/username/projects/myproject/src/file2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/file2.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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 eddea37bff6a6..e38763655fa4d 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 @@ -44,6 +44,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: C:/projects/a/f1.ts ProjectRootPath: undefined:: Result: C:/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: C:/projects/a/tsconfig.json, currentDirectory: C:/projects/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/projects/a/tsconfig.json 2000 undefined Project: C:/projects/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: C:/projects/a/tsconfig.json : { + "rootNames": [ + "C:/projects/a/f1.ts" + ], + "options": { + "outDir": "C:/projects/a/b", + "configFilePath": "C:/projects/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,15 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for C:/projects/a/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: C:/projects/a/tsconfig.json : { - "rootNames": [ - "C:/projects/a/f1.ts" - ], - "options": { - "outDir": "C:/projects/a/b", - "configFilePath": "C:/projects/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: C:/projects/a 0 undefined Config: C:/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: C:/projects/a 0 undefined Config: C:/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: C:/projects/a/tsconfig.json 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 9bf680e6c0cfd..4b1a00dcafeda 100644 --- a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js +++ b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js @@ -42,6 +42,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/f1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/f1.ts", + "/user/username/projects/project/f2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -52,15 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/f1.ts", - "/user/username/projects/project/f2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/f2.ts 500 undefined WatchType: Closed Script info 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 e87c4cf79c467..07c25d201554a 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 @@ -46,6 +46,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/index.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -56,14 +64,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/index.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json @@ -252,6 +252,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/node_modules/@types/a/index.d.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/node_modules/@types/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/node_modules/@types/a/tsconfig.json, currentDirectory: /home/src/projects/project/node_modules/@types/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/node_modules/@types/a/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/node_modules/@types/a/index.d.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/node_modules/@types/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -262,14 +270,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/node_modules/@types/a/index.d.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/node_modules/@types/a/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/node_modules/@types/a/index.d.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/node_modules/@types/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a 1 undefined Config: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a 1 undefined Config: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json 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 b97847073eb55..e2e12220b74db 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 @@ -50,16 +50,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/playground/tests.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/playground/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/playground/tsconfig.json, currentDirectory: /user/username/projects/myproject/playground Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/playground/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/playground/tests.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/playground/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/playground/tests.ts", @@ -70,6 +60,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/playground/ts "configFilePath": "/user/username/projects/myproject/playground/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/playground/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/playground/tests.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src/src.ts 500 undefined WatchType: Closed Script info @@ -320,6 +320,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json, currentDirectory: /user/username/projects/myproject/playground/tsconfig-json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/playground/tsconfig-json/src/src.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -330,14 +338,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/playground/tsconfig-json/src/src.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src 1 undefined Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src 1 undefined Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json 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 f69b980e714f2..98abce4d0d64c 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 @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/workspace/projects/config/file.ts ProjectRootPath: undefined:: Result: /a/b/workspace/projects/config/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/b/workspace/projects/config/tsconfig.json, currentDirectory: /a/b/workspace/projects/config Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/workspace/projects/config/tsconfig.json 2000 undefined Project: /a/b/workspace/projects/config/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /a/b/workspace/projects/config/tsconfig.json : { + "rootNames": [ + "/a/b/workspace/projects/config/file.ts" + ], + "options": { + "configFilePath": "/a/b/workspace/projects/config/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /a/b/workspace/projects/config/file.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /a/b/workspace/projects/config/tsconfig.json : { - "rootNames": [ - "/a/b/workspace/projects/config/file.ts" - ], - "options": { - "configFilePath": "/a/b/workspace/projects/config/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/workspace/projects/config 1 undefined Config: /a/b/workspace/projects/config/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/workspace/projects/config 1 undefined Config: /a/b/workspace/projects/config/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/workspace/projects/config/tsconfig.json 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 9532b0a91879e..acd91a7fd066f 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 @@ -39,6 +39,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/app.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,14 +57,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/app.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 cc121a1c31e48..498ca1c31ecff 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 @@ -41,6 +41,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/b.ts ProjectRootPath: /users/username/projects/project:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/b.ts", + "/users/username/projects/project/sub/a.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,15 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/b.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/b.ts", - "/users/username/projects/project/sub/a.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/a.ts 500 undefined WatchType: Closed Script info 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 33e83f4042fc0..1fcc37d98cb6a 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 @@ -55,16 +55,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/mocks/cssMock.js ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/mocks/cssMock.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js", @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/mocks/cssMock.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js 500 undefined WatchType: Closed Script info @@ -338,16 +338,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js ProjectRootPath: undefined:: Result: /user/username/projects/myproject/apps/editor/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/apps/editor/tsconfig.json, currentDirectory: /user/username/projects/myproject/apps/editor Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/apps/editor/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/apps/editor/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/apps/editor/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/apps/editor/src/src.js" @@ -358,6 +348,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/apps/editor/t } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Config: /user/username/projects/myproject/apps/editor/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/apps/editor/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/src 1 undefined Config: /user/username/projects/myproject/apps/editor/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/src 1 undefined Config: /user/username/projects/myproject/apps/editor/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/apps/editor/tsconfig.json 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 4c5e7e2c1cf80..e2712530662b7 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 @@ -85,6 +85,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/a/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/a/tsconfig.json, currentDirectory: /user/username/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/tsconfig.json 2000 undefined Project: /user/username/projects/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/a/main.ts" + ], + "options": { + "allowJs": true, + "configFilePath": "/user/username/projects/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -95,15 +104,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/a/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/a/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/a/main.ts" - ], - "options": { - "allowJs": true, - "configFilePath": "/user/username/projects/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a 1 undefined Config: /user/username/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a 1 undefined Config: /user/username/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/tsconfig.json 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 c6d3b17b09663..2a6a5f11b0c6e 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/a.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/a.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/a.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json 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 3fe2df75e0c43..9e8cb7ea2e6e5 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 @@ -79,16 +79,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/f1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/f1.ts", @@ -99,6 +89,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json @@ -342,6 +342,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/f1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/f1.ts" + ], + "options": { + "allowJs": false, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -352,15 +361,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/f1.ts" - ], - "options": { - "allowJs": false, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json @@ -593,6 +593,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/f1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/f1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -603,14 +611,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/f1.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json @@ -849,16 +849,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/f1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/f1.ts", @@ -869,6 +859,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -1109,6 +1109,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/f1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/f1.ts" + ], + "options": { + "allowJs": true, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1119,15 +1128,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/f1.ts" - ], - "options": { - "allowJs": true, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json 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 0900ac22829a6..0e90140e9d15c 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 @@ -50,16 +50,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/playground/tests.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/playground/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/playground/tsconfig.json, currentDirectory: /user/username/projects/myproject/playground Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/playground/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/playground/tests.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/playground/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/playground/tests.ts", @@ -70,6 +60,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/playground/ts "configFilePath": "/user/username/projects/myproject/playground/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/playground/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/playground/tests.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src/src.ts 500 undefined WatchType: Closed Script info @@ -320,6 +320,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json, currentDirectory: /user/username/projects/myproject/playground/tsconfig-json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/playground/tsconfig-json/src/src.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -330,14 +338,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/playground/tsconfig-json/src/src.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src 1 undefined Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src 1 undefined Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json 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 b23f010f7c5b0..a4d1fe40cb108 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 @@ -41,6 +41,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/file2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/file1.ts", + "/user/username/projects/myproject/src/file2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,15 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/file2.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/file1.ts", - "/user/username/projects/myproject/src/file2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/file1.ts 500 undefined WatchType: Closed Script info 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 28dd5e0735b97..be61fa4e118a6 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 @@ -43,6 +43,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/commonFile1.ts", + "/user/username/projects/project/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,15 +62,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/commonFile1.ts", - "/user/username/projects/project/commonFile2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.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] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info 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 1278c3071eb87..7768350966486 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 @@ -56,16 +56,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/A/a.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/A/tsconfig.json, currentDirectory: /users/username/projects/project/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/A/tsconfig.json 2000 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/project/A/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/project/A/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/A/tsconfig.json : { "rootNames": [ "/users/username/projects/project/A/a.ts" @@ -76,6 +66,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/A/tsconfig.jso "configFilePath": "/users/username/projects/project/A/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/project/A/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/project/A/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A 1 undefined Config: /users/username/projects/project/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A 1 undefined Config: /users/username/projects/project/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json @@ -232,16 +232,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/B/b.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/B/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/B/tsconfig.json, currentDirectory: /users/username/projects/project/B Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/B/tsconfig.json 2000 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/project/B/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/project/B/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/B/tsconfig.json : { "rootNames": [ "/users/username/projects/project/B/b.ts" @@ -258,6 +248,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/B/tsconfig.jso } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/project/B/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/project/B/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B 1 undefined Config: /users/username/projects/project/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B 1 undefined Config: /users/username/projects/project/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json 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 6efa2ca7b0dd6..575cbfe12b704 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 @@ -59,16 +59,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/A/a.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/A/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/A/tsconfig.json, currentDirectory: /users/username/projects/project/A Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/A/tsconfig.json 2000 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/project/A/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/project/A/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/A/tsconfig.json : { "rootNames": [ "/users/username/projects/project/A/a.ts" @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/A/tsconfig.jso "configFilePath": "/users/username/projects/project/A/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/project/A/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/project/A/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A 1 undefined Config: /users/username/projects/project/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A 1 undefined Config: /users/username/projects/project/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json @@ -235,16 +235,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/B/b.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/B/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/B/tsconfig.json, currentDirectory: /users/username/projects/project/B Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/B/tsconfig.json 2000 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/project/B/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/project/B/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/B/tsconfig.json : { "rootNames": [ "/users/username/projects/project/B/b.ts", @@ -262,6 +252,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/B/tsconfig.jso } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/project/B/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/project/B/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B 1 undefined Config: /users/username/projects/project/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B 1 undefined Config: /users/username/projects/project/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/B/b2.ts 500 undefined WatchType: Closed Script info 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 20700dd89b1e6..585a2bc4b4863 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 @@ -39,6 +39,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/index.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig_base.json 2000 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,15 +58,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/index.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig_base.json 2000 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 1a175345f770a..2ae9a433c9d87 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 @@ -39,6 +39,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/index.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig_base.json 2000 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -49,15 +58,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/index.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig_base.json 2000 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 eccd2935a4f9c..7b00bb55fe7fb 100644 --- a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js +++ b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js @@ -44,6 +44,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/f1.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/f1.ts" + ], + "options": { + "allowJs": true, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -54,15 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/f1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/f1.ts" - ], - "options": { - "allowJs": true, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json @@ -224,16 +224,6 @@ 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/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/project/f1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/f1.ts", @@ -244,6 +234,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/project/f1.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js index b3ea4667db100..750765ca85400 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js @@ -110,16 +110,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/sample1/tests/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/sample1/tests/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/sample1/tests/tsconfig.json, currentDirectory: /user/username/projects/sample1/tests Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/sample1/tests/tsconfig.json 2000 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/sample1/tests/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/sample1/tests/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/sample1/tests/tsconfig.json : { "rootNames": [ "/user/username/projects/sample1/tests/index.ts" @@ -142,6 +132,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/sample1/tests/tsconfig. } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/sample1/tests/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/sample1/tests/index.ts to open" + } + } 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/core/tsconfig.json : { "rootNames": [ 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 be32eac10a4e8..5d1b0d6fedcc6 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 @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/c/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/c/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/c/index.ts" @@ -130,6 +120,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" + } + } 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 : { "rootNames": [ @@ -377,14 +377,6 @@ Projects:: 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 : { - "rootNames": [ - "/user/username/projects/myproject/b/index.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/b/tsconfig.json" - } -} 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 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 bf63154f7fae8..8eb6ae7df5675 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 @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/c/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/c/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/c/index.ts" @@ -130,6 +120,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" + } + } 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 : { "rootNames": [ @@ -377,14 +377,6 @@ Projects:: 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 : { - "rootNames": [ - "/user/username/projects/myproject/a/index.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/a/tsconfig.json" - } -} 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) 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 bf6a51206e875..fedbf7bbd9f2c 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 @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/c/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/c/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/c/index.ts" @@ -130,6 +120,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" + } + } 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 : { "rootNames": [ 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 1f03466df4c82..5a860f36992f9 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 @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/c/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/c/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/c/index.ts" @@ -130,6 +120,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" + } + } 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 : { "rootNames": [ 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 1edfef581f553..f6ba8da0e8d2d 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 @@ -99,16 +99,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/c/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/c/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/c/index.ts" @@ -130,6 +120,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" + } + } 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 : { "rootNames": [ 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 9246683742f61..9737c6d559a46 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 @@ -90,16 +90,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/c/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/c/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/c/index.ts" @@ -121,6 +111,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c 1 undefined Config: /user/username/projects/myproject/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c 1 undefined Config: /user/username/projects/myproject/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -379,14 +379,6 @@ Projects:: 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 : { - "rootNames": [ - "/user/username/projects/myproject/b/index.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: 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] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Wild card directory 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 c2441011e89fb..c2d2da2ce26e1 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 @@ -90,16 +90,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/c/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/c/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/c/index.ts" @@ -121,6 +111,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c 1 undefined Config: /user/username/projects/myproject/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c 1 undefined Config: /user/username/projects/myproject/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -379,14 +379,6 @@ Projects:: 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 : { - "rootNames": [ - "/user/username/projects/myproject/a/index.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/a/tsconfig.json" - } -} 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 projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms 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 c4d5f0f419013..9d42eefdc79f5 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 @@ -90,16 +90,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/c/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/c/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/c/index.ts" @@ -121,6 +111,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c 1 undefined Config: /user/username/projects/myproject/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c 1 undefined Config: /user/username/projects/myproject/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 965aea22d5860..343930355e1c8 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 @@ -90,16 +90,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/c/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/c/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/c/index.ts" @@ -121,6 +111,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c 1 undefined Config: /user/username/projects/myproject/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c 1 undefined Config: /user/username/projects/myproject/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json 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 d3f0e2e7b64e3..4130cd73a6693 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 @@ -90,16 +90,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/c/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/c/tsconfig.json, currentDirectory: /user/username/projects/myproject/c Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/c/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/c/index.ts" @@ -121,6 +111,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/c/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/c/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c 1 undefined Config: /user/username/projects/myproject/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c 1 undefined Config: /user/username/projects/myproject/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 82d8c583214f1..4cb710f80f951 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/Foo/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/Foo/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/Foo/tsconfig.json, currentDirectory: /home/src/projects/project/Foo Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/tsconfig.json 2000 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/Foo/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/Foo/a.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/Foo/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/Foo/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/Foo/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/Foo/a.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/Foo/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/Foo/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots 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 c304f6899c533..3d20900131ed4 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 @@ -41,6 +41,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/Foo/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/Foo/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/Foo/tsconfig.json, currentDirectory: /home/src/projects/project/Foo Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/tsconfig.json 2000 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/Foo/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/Foo/a.ts", + "/home/src/projects/project/Foo/b.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/Foo/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,15 +60,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/Foo/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/Foo/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/Foo/a.ts", - "/home/src/projects/project/Foo/b.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/Foo/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/Foo/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/bar 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Failed Lookup Locations 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 e1a4707c0e546..f0d704b54b0b2 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 @@ -45,6 +45,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/Bar/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/Bar/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/Bar/tsconfig.json, currentDirectory: /home/src/projects/project/Bar Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/Bar/tsconfig.json 2000 undefined Project: /home/src/projects/project/Bar/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/Bar/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/Bar/a.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/Bar/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -55,14 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/Bar/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/Bar/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/Bar/a.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/Bar/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/Bar/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Bar/node_modules/@types 1 undefined Project: /home/src/projects/project/Bar/tsconfig.json WatchType: Type roots 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 8a916124c7682..8a884d518841f 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 @@ -40,6 +40,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/Foo/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/Foo/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/Foo/tsconfig.json, currentDirectory: /home/src/projects/project/Foo Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/tsconfig.json 2000 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/Foo/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/Foo/a.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/Foo/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,14 +58,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/Foo/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/Foo/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/Foo/a.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/Foo/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/Foo/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots 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 832be7b69d6b4..84ed4563249a7 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 @@ -37,6 +37,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -47,14 +55,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/regionDiagnostics/region-does-not-have-suggestion.js b/tests/baselines/reference/tsserver/regionDiagnostics/region-does-not-have-suggestion.js index 2f7c4f22f6218..5bb6f88ef5caf 100644 --- a/tests/baselines/reference/tsserver/regionDiagnostics/region-does-not-have-suggestion.js +++ b/tests/baselines/reference/tsserver/regionDiagnostics/region-does-not-have-suggestion.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/index.ts", @@ -72,6 +62,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/other.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/regionDiagnostics/region-has-suggestion.js b/tests/baselines/reference/tsserver/regionDiagnostics/region-has-suggestion.js index 38a0ad089b7bf..f57d977892b2e 100644 --- a/tests/baselines/reference/tsserver/regionDiagnostics/region-has-suggestion.js +++ b/tests/baselines/reference/tsserver/regionDiagnostics/region-has-suggestion.js @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/index.ts", @@ -72,6 +62,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/other.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js index e871a276cc9b4..0a024919f0cd6 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js @@ -75,16 +75,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts", @@ -101,6 +91,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info @@ -269,16 +269,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts", @@ -293,6 +283,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json ] } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} 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: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -465,16 +465,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts", @@ -489,6 +479,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json ] } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -661,16 +661,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: 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:: Close:: 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:: Close:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/file1.ts" @@ -684,6 +674,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json ] } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "User requested reload projects: Creating possible configured project for /user/username/projects/myproject/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} 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/myproject/file2 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations 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 4b31248c152de..8c064c08f6085 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 @@ -83,6 +83,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: c:/temp/test/project1/index.ts ProjectRootPath: undefined:: Result: c:/temp/test/project1/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: c:/temp/test/project1/tsconfig.json, currentDirectory: c:/temp/test/project1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/test/project1/tsconfig.json 2000 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: c:/temp/test/project1/tsconfig.json : { + "rootNames": [ + "c:/temp/test/project1/index.ts" + ], + "options": { + "composite": true, + "configFilePath": "c:/temp/test/project1/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -93,15 +102,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for c:/temp/test/project1/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: c:/temp/test/project1/tsconfig.json : { - "rootNames": [ - "c:/temp/test/project1/index.ts" - ], - "options": { - "composite": true, - "configFilePath": "c:/temp/test/project1/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project1 1 undefined Config: c:/temp/test/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project1 1 undefined Config: c:/temp/test/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/temp/test/project1/tsconfig.json 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 240b06df674f4..49c9edd5db18a 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 @@ -47,6 +47,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/src/file1.ts" + ], + "options": { + "traceResolution": true, + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -57,15 +66,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/src/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/src/file1.ts" - ], - "options": { - "traceResolution": true, - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 b89804b56741e..3261fb3c2583f 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 @@ -56,16 +56,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/product/src/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/product/src/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/product/src/file1.ts", @@ -78,6 +68,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/product/src/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/feature/file2.ts 500 undefined WatchType: Closed Script info 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 d0f4a22a65669..ac00dbb3519ae 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 @@ -50,16 +50,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/file1.ts", @@ -70,6 +60,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info 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 09bbb177d80a9..48d9a6f7a90c8 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js @@ -74,16 +74,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/app/appB.ts ProjectRootPath: undefined:: Result: /users/username/projects/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/app/tsconfig.json, currentDirectory: /users/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/app/tsconfig.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/app/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/app/appB.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/app/tsconfig.json : { "rootNames": [ "/users/username/projects/app/appA.ts", @@ -102,6 +92,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/app/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/app/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/app/appB.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app 1 undefined Config: /users/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app 1 undefined Config: /users/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/app/appA.ts 500 undefined WatchType: Closed Script info 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 c4e4a4b9a8e41..931c92434298b 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 @@ -56,16 +56,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/product/src/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/product/src/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/product/module2.ts", @@ -80,6 +70,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/product/src/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/module2.ts 500 undefined WatchType: Closed Script info 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 95ff824621b01..44481bf0170cf 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 @@ -50,16 +50,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/file1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/module2.ts", @@ -72,6 +62,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/file1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module2.ts 500 undefined WatchType: Closed Script info 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 afb4548333edd..05a0952d19a62 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 @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/file1.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/file1.ts", + "/users/username/projects/project/moduleFile.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/file1.ts", - "/users/username/projects/project/moduleFile.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js index 5b7b78eb2efcf..d4fe62e1c1381 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js @@ -73,16 +73,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/app/appB.ts ProjectRootPath: undefined:: Result: /users/username/projects/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/app/tsconfig.json, currentDirectory: /users/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/app/tsconfig.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/app/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/app/appB.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/app/tsconfig.json : { "rootNames": [ "/users/username/projects/app/appA.ts", @@ -100,6 +90,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/app/tsconfig.json : { } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/app/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/app/appB.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app 1 undefined Config: /users/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app 1 undefined Config: /users/username/projects/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/app/appA.ts 500 undefined WatchType: Closed Script info 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 63007bbf6c10e..8d1d8c5055ca7 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 @@ -46,16 +46,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/app.ts" @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/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 e88f1e36099b6..8310d0198a663 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 @@ -47,16 +47,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/app.ts" @@ -69,6 +59,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "configFilePath": "/user/username/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js index 14e7dbac92acb..148a97fcaf36b 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js @@ -65,16 +65,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/somefolder/srcfile.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/src/tsconfig.json, currentDirectory: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/src/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/somefolder/srcfile.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/src/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/somefolder/module1.ts", @@ -93,6 +83,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/src/tsconfig. "configFilePath": "/user/username/projects/myproject/src/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/src/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/somefolder/srcfile.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/somefolder/module1.ts 500 undefined WatchType: Closed Script info 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 e196bc83f379b..9b02a29a4cc51 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 @@ -72,16 +72,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/somefolder/srcfile.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/src/tsconfig.json, currentDirectory: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/src/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/somefolder/srcfile.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/src/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/somefolder/module1.ts", @@ -101,6 +91,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/src/tsconfig. "configFilePath": "/user/username/projects/myproject/src/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/src/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/somefolder/srcfile.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/somefolder/module1.ts 500 undefined WatchType: Closed Script info 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 708e941bff1e3..ae5403f0c3af4 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 @@ -40,6 +40,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/test.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,14 +58,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/test.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/test.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 28c3b7e85b9e5..892d974336e84 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 @@ -45,6 +45,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/app.ts ProjectRootPath: undefined:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/project/tsconfig.json, currentDirectory: /users/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { + "rootNames": [ + "/users/username/projects/project/app.ts" + ], + "options": { + "configFilePath": "/users/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -55,14 +63,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/project/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json : { - "rootNames": [ - "/users/username/projects/project/app.ts" - ], - "options": { - "configFilePath": "/users/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: 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:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json 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 4e861fd847353..1654e01f23da7 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 @@ -43,16 +43,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/jsFile.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/jsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/jsconfig.json 2000 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/jsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/jsFile.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/jsconfig.json : { "rootNames": [ "/home/src/projects/project/a/jsFile.js" @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/jsconfig.json : { "configFilePath": "/home/src/projects/project/a/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/jsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/jsFile.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/jsconfig.json 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 b15cd9f2c4bae..7ba4f8db7e449 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 @@ -40,16 +40,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/jsFile.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/jsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/jsconfig.json 2000 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/jsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/jsFile.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/jsconfig.json : { "rootNames": [ "/home/src/projects/project/a/jsFile.js" @@ -63,6 +53,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/jsconfig.json : { "configFilePath": "/home/src/projects/project/a/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/jsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/jsFile.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/jsconfig.json 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 747522b4b9e6a..b10c7b21e2450 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/jsFile.js ProjectRootPath: undefined:: Result: /home/src/projects/project/a/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/jsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/jsconfig.json 2000 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/a/jsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a/jsFile.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/jsconfig.json : { "rootNames": [ "/home/src/projects/project/a/dTsFile1.d.ts", @@ -70,6 +60,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/jsconfig.json : { "configFilePath": "/home/src/projects/project/a/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/a/jsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a/jsFile.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/dTsFile1.d.ts 500 undefined WatchType: Closed Script info 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 222096b8ade6d..cf632444c85de 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 @@ -51,6 +51,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts ProjectRootPath: /users/username/projects/myproject:: Result: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json, currentDirectory: /users/username/projects/myproject/javascript/packages/recognizers-date-time Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json : { + "rootNames": [ + "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts" + ], + "options": { + "configFilePath": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -61,14 +69,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json : { - "rootNames": [ - "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts" - ], - "options": { - "configFilePath": "/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-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 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 972b1194a3ec8..4a7745d525dd3 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 @@ -53,6 +53,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts ProjectRootPath: /users/username/projects/myproject:: Result: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json, currentDirectory: /users/username/projects/myproject/javascript/packages/recognizers-date-time Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json : { + "rootNames": [ + "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts" + ], + "options": { + "configFilePath": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -63,14 +71,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json : { - "rootNames": [ - "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts" - ], - "options": { - "configFilePath": "/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-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 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 38987376cab90..3ea2fa0a2da89 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 @@ -56,6 +56,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts ProjectRootPath: /users/username/projects/myproject:: Result: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json, currentDirectory: /users/username/projects/myproject/javascript/packages/recognizers-date-time Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json : { + "rootNames": [ + "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts" + ], + "options": { + "configFilePath": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -66,14 +74,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json : { - "rootNames": [ - "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts" - ], - "options": { - "configFilePath": "/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-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 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 74f3f44c28e68..508885852d01c 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 @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts ProjectRootPath: /users/username/projects/myproject:: Result: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json, currentDirectory: /users/username/projects/myproject/javascript/packages/recognizers-date-time Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json : { "rootNames": [ "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts" @@ -86,6 +76,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/p "configFilePath": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 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 e26fa4a1964df..64f1bd926da16 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 @@ -62,16 +62,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts ProjectRootPath: /users/username/projects/myproject:: Result: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json, currentDirectory: /users/username/projects/myproject/javascript/packages/recognizers-date-time Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json : { "rootNames": [ "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/p "configFilePath": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 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 069e5c5ca7f97..340dab734c50a 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 @@ -65,16 +65,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts ProjectRootPath: /users/username/projects/myproject:: Result: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json, currentDirectory: /users/username/projects/myproject/javascript/packages/recognizers-date-time Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json : { "rootNames": [ "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts" @@ -91,6 +81,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/p "configFilePath": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js index 35031d84505f3..2f57ac173737b 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js @@ -109,16 +109,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/package2/src/index.ts" @@ -137,6 +127,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts "configFilePath": "/home/src/projects/project/packages/package2/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js index d1a2601e4f3b9..058bd2a42cd57 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js @@ -98,16 +98,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/package2/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/package2/tsconfig.json, currentDirectory: /home/src/projects/project/packages/package2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/package2/src/index.ts" @@ -126,6 +116,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts "configFilePath": "/home/src/projects/project/packages/package2/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-canUseWatchEvents.js index 8699b84426049..e9bca79deb7bc 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-canUseWatchEvents.js @@ -109,16 +109,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/package2/src/index.ts" @@ -137,6 +127,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts "configFilePath": "/home/src/projects/project/packages/package2/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js index 20f19ba3d8489..0019506ec8ad2 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js @@ -133,16 +133,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/package2/src/index.ts" @@ -161,6 +151,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts "configFilePath": "/home/src/projects/project/packages/package2/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js index a3a3c1decb57f..01ceeb6bc3510 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js @@ -122,16 +122,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/package2/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/package2/tsconfig.json, currentDirectory: /home/src/projects/project/packages/package2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/package2/src/index.ts" @@ -150,6 +140,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts "configFilePath": "/home/src/projects/project/packages/package2/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-canUseWatchEvents.js index 16eef7915223a..a53ecf64cec41 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-canUseWatchEvents.js @@ -133,16 +133,6 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"} -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/package2/src/index.ts" @@ -161,6 +151,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts "configFilePath": "/home/src/projects/project/packages/package2/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js index b553d65749963..d08e42ef20226 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js @@ -122,16 +122,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/package2/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/package2/tsconfig.json, currentDirectory: /home/src/projects/project/packages/package2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/package2/src/index.ts" @@ -150,6 +140,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts "configFilePath": "/home/src/projects/project/packages/package2/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js index 46b03b91f4b36..9da274af0f85c 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js @@ -98,16 +98,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/package2/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/package2/tsconfig.json, currentDirectory: /home/src/projects/project/packages/package2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/package2/src/index.ts" @@ -126,6 +116,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts "configFilePath": "/home/src/projects/project/packages/package2/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/package2/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/package2/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js index 812469d1a29b0..15f9be671f310 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js @@ -115,6 +115,15 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -125,15 +134,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js index 899d35bdbcc8b..3138102e1e5ce 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js @@ -104,6 +104,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/b/2/b-impl/b/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/b/2/b-impl/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/b/2/b-impl/b/tsconfig.json, currentDirectory: /home/src/projects/b/2/b-impl/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/tsconfig.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -114,15 +123,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js index 5da21d4050fa8..effcff869f1e3 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js @@ -115,6 +115,15 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -125,15 +134,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js index 386b009c5d135..894a0407ac278 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js @@ -104,6 +104,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/b/2/b-impl/b/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/b/2/b-impl/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/b/2/b-impl/b/tsconfig.json, currentDirectory: /home/src/projects/b/2/b-impl/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/tsconfig.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -114,15 +123,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js index f52c1b8b7e443..1d34cc8c3710a 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js @@ -115,6 +115,15 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -125,15 +134,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js index 3f4cce6fcd2ae..3914e813c5074 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js @@ -104,6 +104,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/b/2/b-impl/b/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/b/2/b-impl/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/b/2/b-impl/b/tsconfig.json, currentDirectory: /home/src/projects/b/2/b-impl/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/tsconfig.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -114,15 +123,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js index 0a2b3166b586a..08d2d8144f773 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js @@ -213,6 +213,15 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -223,15 +232,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js index 3b8295cffe1cb..09e40bad36859 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js @@ -202,6 +202,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/b/2/b-impl/b/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/b/2/b-impl/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/b/2/b-impl/b/tsconfig.json, currentDirectory: /home/src/projects/b/2/b-impl/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/tsconfig.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -212,15 +221,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js index edf8abb3f1dd4..27c1ad995d9d4 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js @@ -213,6 +213,15 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -223,15 +232,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js index 17f07a30ecfa0..31ff2d2fb61b5 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js @@ -202,6 +202,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/b/2/b-impl/b/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/b/2/b-impl/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/b/2/b-impl/b/tsconfig.json, currentDirectory: /home/src/projects/b/2/b-impl/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/tsconfig.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -212,15 +221,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js index 264a43d5efe7e..5abbe06efa05f 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js @@ -213,6 +213,15 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -223,15 +232,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js index 89042cacbba15..816ef7bdb079c 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js @@ -202,6 +202,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/b/2/b-impl/b/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/b/2/b-impl/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/b/2/b-impl/b/tsconfig.json, currentDirectory: /home/src/projects/b/2/b-impl/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/tsconfig.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { + "rootNames": [ + "/home/src/projects/b/2/b-impl/b/src/index.ts" + ], + "options": { + "outDir": "/home/src/projects/b/2/b-impl/b/lib", + "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -212,15 +221,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/b/2/b-impl/b/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/b/2/b-impl/b/tsconfig.json : { - "rootNames": [ - "/home/src/projects/b/2/b-impl/b/src/index.ts" - ], - "options": { - "outDir": "/home/src/projects/b/2/b-impl/b/lib", - "configFilePath": "/home/src/projects/b/2/b-impl/b/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json 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 c81b72d097162..0fc8285977b22 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 @@ -59,16 +59,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/a/a.ts ProjectRootPath: /users/username/projects/a:: Result: /users/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/a/tsconfig.json, currentDirectory: /users/username/projects/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/a/tsconfig.json 2000 undefined Project: /users/username/projects/a/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/a/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/a/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/a/tsconfig.json : { "rootNames": [ "/users/username/projects/a/a.ts", @@ -79,6 +69,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/a/tsconfig.json : { "configFilePath": "/users/username/projects/a/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/a/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/a/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/a 1 undefined Config: /users/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/a 1 undefined Config: /users/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/a/c/fc.ts 500 undefined WatchType: Closed Script info @@ -241,16 +241,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/b/b.ts ProjectRootPath: /users/username/projects/b:: Result: /users/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /users/username/projects/b/tsconfig.json, currentDirectory: /users/username/projects/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/b/tsconfig.json 2000 undefined Project: /users/username/projects/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/users/username/projects/b/tsconfig.json", - "reason": "Creating possible configured project for /users/username/projects/b/b.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /users/username/projects/b/tsconfig.json : { "rootNames": [ "/users/username/projects/b/b.ts", @@ -261,6 +251,16 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/b/tsconfig.json : { "configFilePath": "/users/username/projects/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/users/username/projects/b/tsconfig.json", + "reason": "Creating possible configured project for /users/username/projects/b/b.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/b 1 undefined Config: /users/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/b 1 undefined Config: /users/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/b/c/fc.ts 500 undefined WatchType: Closed Script info 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 9daf7ade47ee7..498e0aaf299f6 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 @@ -64,16 +64,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/packages/app/src/index.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/packages/app/tsconfig.json, currentDirectory: /home/src/projects/project/packages/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/packages/app/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/packages/app/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/app/tsconfig.json : { "rootNames": [ "/home/src/projects/project/packages/app/src/index.ts" @@ -92,6 +82,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/app/tsconfi } ] } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/packages/app/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/packages/app/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 1 undefined Config: /home/src/projects/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 1 undefined Config: /home/src/projects/project/packages/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/app/tsconfig.json 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 c5963b7d65864..dd366d846f698 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 @@ -38,6 +38,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/app.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/app.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -48,14 +56,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/myproject/app.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/app.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 acaddaf02b40a..82942a75efc54 100644 --- a/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js +++ b/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js @@ -65,16 +65,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/src/ts.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/src/ts.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/src/dts.d.ts", @@ -89,6 +79,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/src/ts.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/dts.d.ts 500 undefined WatchType: Closed Script info 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 7d69f023f62c0..a8ea96579dd47 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 @@ -37,16 +37,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.js ProjectRootPath: undefined:: Result: /home/src/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/jsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/jsconfig.json : { "rootNames": [ "/home/src/projects/project/a.js" @@ -60,6 +50,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/jsconfig.json : { "configFilePath": "/home/src/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.js to open" + } + } Info seq [hh:mm:ss:mss] Non TS file size exceeded limit (20971521). Largest files: /home/src/projects/project/a.js:20971521 Info seq [hh:mm:ss:mss] event: { 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 55e2d1693a04f..083c165d30d12 100644 --- a/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js +++ b/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js @@ -78,16 +78,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "rootNames": [ "/home/src/projects/project/a.ts" @@ -128,6 +118,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { "configFilePath": "/home/src/projects/project/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.ts to open" + } + } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/hunter2 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/project/hunter2 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations 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 d804722ce6913..78d34f5e188ad 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 @@ -41,16 +41,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.js ProjectRootPath: undefined:: Result: /home/src/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/jsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/jsconfig.json : { "rootNames": [ "/home/src/projects/project/a.js" @@ -65,6 +55,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/jsconfig.json : { "configFilePath": "/home/src/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/jsconfig.json 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 db96d36006666..ea04030e2b8d0 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 @@ -40,6 +40,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/a.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,14 +58,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/a.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json @@ -406,6 +406,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/a/tsconfig.json, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/a/a.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/a/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -416,14 +424,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/a/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/a/a.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/a/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json 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 c2464a86cda7c..7fde7236999a6 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 @@ -50,6 +50,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/hunter2/a.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/tsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { + "rootNames": [ + "/home/src/projects/project/hunter2/a.ts" + ], + "options": { + "configFilePath": "/home/src/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -60,14 +68,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /home/src/projects/project/hunter2/a.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/hunter2/a.ts" - ], - "options": { - "configFilePath": "/home/src/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/hunter2 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/hunter2 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json 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 32e5b02437a70..33d8ece2d14fb 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 @@ -48,16 +48,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.js ProjectRootPath: undefined:: Result: /home/src/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/jsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/jsconfig.json : { "rootNames": [ "/home/src/projects/project/a.js", @@ -72,6 +62,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/jsconfig.json : { "configFilePath": "/home/src/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info 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 00c00d17a2e94..062c777402704 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 @@ -47,16 +47,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/a.js ProjectRootPath: undefined:: Result: /home/src/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/projects/project/jsconfig.json, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/a.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/jsconfig.json : { "rootNames": [ "/home/src/projects/project/a.js" @@ -70,6 +60,16 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/jsconfig.json : { "configFilePath": "/home/src/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /home/src/projects/project/a.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/jsconfig.json 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 14c9cccb2c41e..48c118e081288 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 @@ -58,16 +58,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js" @@ -81,6 +71,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json 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 c8db200ec02b7..5ace0a8a8d149 100644 --- a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js +++ b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js @@ -72,16 +72,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/test/test.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/test/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/test/tsconfig.json, currentDirectory: /user/username/projects/myproject/test Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/test/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/test/test.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/test/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/test/test.ts" @@ -96,6 +86,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/test/tsconfig "configFilePath": "/user/username/projects/myproject/test/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/test/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/test/test.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test 1 undefined Config: /user/username/projects/myproject/test/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test 1 undefined Config: /user/username/projects/myproject/test/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json 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 63e5db2e4aa6c..9c9c15c660e3b 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 @@ -46,16 +46,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/background/a.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/background/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/background/tsconfig.json, currentDirectory: /user/username/projects/myproject/background Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/background/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/background/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/background/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/background/a.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/background/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/background/a.ts" @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/background/ts "configFilePath": "/user/username/projects/myproject/background/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/background/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/background/a.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/background 1 undefined Config: /user/username/projects/myproject/background/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/background 1 undefined Config: /user/username/projects/myproject/background/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/background/tsconfig.json 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 826d4179997ce..dd192abf97c9d 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js" @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js index 3afe2172f501e..0d47258c726bc 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js @@ -75,6 +75,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/app.js" + ], + "options": { + "allowJs": true, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -85,15 +94,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/app.js" - ], - "options": { - "allowJs": true, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/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 f6fbdea072710..a708f3e5b4203 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js" @@ -67,6 +57,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/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 f995cc0072f79..3b291952b6b9a 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 @@ -69,16 +69,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js" @@ -93,6 +83,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json 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 55c88c2c5cd46..b500cda94eaa5 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 @@ -69,16 +69,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js" @@ -93,6 +83,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json 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 12c0d4b2dee1d..38fa11bd62bed 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 @@ -71,16 +71,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js" @@ -97,6 +87,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json 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 e21b0eff6aebf..b38cb198eea30 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js @@ -65,16 +65,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js" @@ -88,6 +78,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json 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 00a55250e927f..d29dd1f743bdf 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 @@ -70,16 +70,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js", @@ -94,6 +84,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/config.js 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js index 778c636751134..6e138bac171b1 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js @@ -73,6 +73,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/app.js" + ], + "options": { + "allowJs": true, + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -83,15 +92,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/app.js" - ], - "options": { - "allowJs": true, - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json @@ -768,6 +768,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project2/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project2/tsconfig.json, currentDirectory: /user/username/projects/project2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project2/tsconfig.json 2000 undefined Project: /user/username/projects/project2/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project2/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project2/app.js" + ], + "options": { + "allowJs": true, + "configFilePath": "/user/username/projects/project2/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -778,15 +787,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project2/app.js to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project2/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project2/app.js" - ], - "options": { - "allowJs": true, - "configFilePath": "/user/username/projects/project2/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project2 1 undefined Config: /user/username/projects/project2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project2 1 undefined Config: /user/username/projects/project2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project2/tsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js index 10ed5d18a2834..31a1adecb3b3d 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js @@ -60,16 +60,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/app.js ProjectRootPath: undefined:: Result: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/jsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : { "rootNames": [ "/user/username/projects/project/app.js" @@ -83,6 +73,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/jsconfig.json : "configFilePath": "/user/username/projects/project/jsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/app.js to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js index 752bd5ade6689..2f307c5465df9 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: c:/workspaces/project/file1.ts ProjectRootPath: undefined:: Result: c:/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: c:/workspaces/project/tsconfig.json, currentDirectory: c:/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/workspaces/project/tsconfig.json 2000 undefined Project: c:/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: c:/workspaces/project/tsconfig.json : { + "rootNames": [ + "c:/workspaces/project/file1.ts", + "c:/workspaces/project/file2.ts" + ], + "options": { + "configFilePath": "c:/workspaces/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for c:/workspaces/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: c:/workspaces/project/tsconfig.json : { - "rootNames": [ - "c:/workspaces/project/file1.ts", - "c:/workspaces/project/file2.ts" - ], - "options": { - "configFilePath": "c:/workspaces/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/project 1 undefined Config: c:/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/project 1 undefined Config: c:/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/workspaces/project/file2.ts 500 undefined WatchType: Closed Script info 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 d6afc3a06d726..e2441de0e925a 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 @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: c:/project/file1.ts ProjectRootPath: undefined:: Result: c:/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: c:/project/tsconfig.json, currentDirectory: c:/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/tsconfig.json 2000 undefined Project: c:/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: c:/project/tsconfig.json : { + "rootNames": [ + "c:/project/file1.ts", + "c:/project/file2.ts" + ], + "options": { + "configFilePath": "c:/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for c:/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: c:/project/tsconfig.json : { - "rootNames": [ - "c:/project/file1.ts", - "c:/project/file2.ts" - ], - "options": { - "configFilePath": "c:/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project 1 undefined Config: c:/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project 1 undefined Config: c:/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/file2.ts 500 undefined WatchType: Closed Script info 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 1cfc427411509..c354bbc1b7836 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: c:/workspaces/myfolder/allproject/project/file1.ts ProjectRootPath: undefined:: Result: c:/workspaces/myfolder/allproject/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: c:/workspaces/myfolder/allproject/project/tsconfig.json, currentDirectory: c:/workspaces/myfolder/allproject/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/workspaces/myfolder/allproject/project/tsconfig.json 2000 undefined Project: c:/workspaces/myfolder/allproject/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: c:/workspaces/myfolder/allproject/project/tsconfig.json : { + "rootNames": [ + "c:/workspaces/myfolder/allproject/project/file1.ts", + "c:/workspaces/myfolder/allproject/project/file2.ts" + ], + "options": { + "configFilePath": "c:/workspaces/myfolder/allproject/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for c:/workspaces/myfolder/allproject/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: c:/workspaces/myfolder/allproject/project/tsconfig.json : { - "rootNames": [ - "c:/workspaces/myfolder/allproject/project/file1.ts", - "c:/workspaces/myfolder/allproject/project/file2.ts" - ], - "options": { - "configFilePath": "c:/workspaces/myfolder/allproject/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/myfolder/allproject/project 1 undefined Config: c:/workspaces/myfolder/allproject/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/myfolder/allproject/project 1 undefined Config: c:/workspaces/myfolder/allproject/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/workspaces/myfolder/allproject/project/file2.ts 500 undefined WatchType: Closed Script info 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 4346f94ba6a0b..61656f20dd820 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 @@ -40,6 +40,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: c:/myfolder/allproject/project/file1.ts ProjectRootPath: undefined:: Result: c:/myfolder/allproject/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: c:/myfolder/allproject/project/tsconfig.json, currentDirectory: c:/myfolder/allproject/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/myfolder/allproject/project/tsconfig.json 2000 undefined Project: c:/myfolder/allproject/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: c:/myfolder/allproject/project/tsconfig.json : { + "rootNames": [ + "c:/myfolder/allproject/project/file1.ts", + "c:/myfolder/allproject/project/file2.ts" + ], + "options": { + "configFilePath": "c:/myfolder/allproject/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -50,15 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for c:/myfolder/allproject/project/file1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: c:/myfolder/allproject/project/tsconfig.json : { - "rootNames": [ - "c:/myfolder/allproject/project/file1.ts", - "c:/myfolder/allproject/project/file2.ts" - ], - "options": { - "configFilePath": "c:/myfolder/allproject/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allproject/project 1 undefined Config: c:/myfolder/allproject/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allproject/project 1 undefined Config: c:/myfolder/allproject/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/myfolder/allproject/project/file2.ts 500 undefined WatchType: Closed Script info 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 f3b1029da933f..b0cde889d0d8b 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 @@ -43,6 +43,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /Volumes/git/projects/project/foo.ts ProjectRootPath: undefined:: Result: /Volumes/git/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /Volumes/git/projects/project/tsconfig.json, currentDirectory: /Volumes/git/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Volumes/git/projects/project/tsconfig.json 2000 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /Volumes/git/projects/project/tsconfig.json : { + "rootNames": [ + "/Volumes/git/projects/project/foo.ts" + ], + "options": { + "configFilePath": "/Volumes/git/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,14 +61,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /Volumes/git/projects/project/foo.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /Volumes/git/projects/project/tsconfig.json : { - "rootNames": [ - "/Volumes/git/projects/project/foo.ts" - ], - "options": { - "configFilePath": "/Volumes/git/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/project 1 undefined Config: /Volumes/git/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/project 1 undefined Config: /Volumes/git/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Volumes/git/projects/project/tsconfig.json 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 48940642d4d42..8e8b79a8b68e4 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 @@ -43,6 +43,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/username/workspace/project/src/index.ts ProjectRootPath: undefined:: Result: /a/username/workspace/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/username/workspace/project/tsconfig.json, currentDirectory: /a/username/workspace/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/tsconfig.json 2000 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /a/username/workspace/project/tsconfig.json : { + "rootNames": [ + "/a/username/workspace/project/src/file1.ts", + "/a/username/workspace/project/src/index.ts" + ], + "options": { + "configFilePath": "/a/username/workspace/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -53,15 +62,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /a/username/workspace/project/src/index.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /a/username/workspace/project/tsconfig.json : { - "rootNames": [ - "/a/username/workspace/project/src/file1.ts", - "/a/username/workspace/project/src/index.ts" - ], - "options": { - "configFilePath": "/a/username/workspace/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 1 undefined Config: /a/username/workspace/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 1 undefined Config: /a/username/workspace/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/src/file1.ts 500 undefined WatchType: Closed Script info 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 491e3b6379add..72822b029c252 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 @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/username/workspace/project/src/index.ts ProjectRootPath: undefined:: Result: /a/username/workspace/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/username/workspace/project/tsconfig.json, currentDirectory: /a/username/workspace/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/tsconfig.json 2000 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/a/username/workspace/project/tsconfig.json", - "reason": "Creating possible configured project for /a/username/workspace/project/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /a/username/workspace/project/tsconfig.json : { "rootNames": [ "/a/username/workspace/project/src/file1.ts", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /a/username/workspace/project/tsconfig.json : { } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/username/workspace/project/tsconfig.json 2000 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/tsconfig.json 2000 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/a/username/workspace/project/tsconfig.json", + "reason": "Creating possible configured project for /a/username/workspace/project/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 1 {"synchronousWatchDirectory":true} Config: /a/username/workspace/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 1 {"synchronousWatchDirectory":true} Config: /a/username/workspace/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/src/file1.ts 500 undefined WatchType: Closed Script info 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 48d59439ca2c9..fb514c8696678 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 @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/username/workspace/project/src/index.ts ProjectRootPath: undefined:: Result: /a/username/workspace/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/username/workspace/project/tsconfig.json, currentDirectory: /a/username/workspace/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/tsconfig.json 2000 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/a/username/workspace/project/tsconfig.json", - "reason": "Creating possible configured project for /a/username/workspace/project/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /a/username/workspace/project/tsconfig.json : { "rootNames": [ "/a/username/workspace/project/src/file1.ts", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /a/username/workspace/project/tsconfig.json : { } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/username/workspace/project/tsconfig.json 2000 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/tsconfig.json 2000 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/a/username/workspace/project/tsconfig.json", + "reason": "Creating possible configured project for /a/username/workspace/project/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 1 {"synchronousWatchDirectory":true} Config: /a/username/workspace/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 1 {"synchronousWatchDirectory":true} Config: /a/username/workspace/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/src/file1.ts 500 undefined WatchType: Closed Script info 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 8db018fd708fe..bef8dd8998a17 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 @@ -44,16 +44,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/username/workspace/project/src/index.ts ProjectRootPath: undefined:: Result: /a/username/workspace/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /a/username/workspace/project/tsconfig.json, currentDirectory: /a/username/workspace/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/tsconfig.json 2000 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/a/username/workspace/project/tsconfig.json", - "reason": "Creating possible configured project for /a/username/workspace/project/src/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /a/username/workspace/project/tsconfig.json : { "rootNames": [ "/a/username/workspace/project/src/file1.ts", @@ -68,6 +58,16 @@ Info seq [hh:mm:ss:mss] Config: /a/username/workspace/project/tsconfig.json : { } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/username/workspace/project/tsconfig.json 2000 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/tsconfig.json 2000 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/a/username/workspace/project/tsconfig.json", + "reason": "Creating possible configured project for /a/username/workspace/project/src/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 1 {"synchronousWatchDirectory":true} Config: /a/username/workspace/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 1 {"synchronousWatchDirectory":true} Config: /a/username/workspace/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/src/file1.ts 500 undefined WatchType: Closed Script info 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 16fcf65c99586..541a4459c4536 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 @@ -41,6 +41,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /workspaces/somerepo/src/main.ts ProjectRootPath: undefined:: Result: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /workspaces/somerepo/src/tsconfig.json, currentDirectory: /workspaces/somerepo/src Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/src/tsconfig.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /workspaces/somerepo/src/tsconfig.json : { + "rootNames": [ + "/workspaces/somerepo/src/main.ts" + ], + "options": { + "configFilePath": "/workspaces/somerepo/src/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -51,14 +59,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /workspaces/somerepo/src/main.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /workspaces/somerepo/src/tsconfig.json : { - "rootNames": [ - "/workspaces/somerepo/src/main.ts" - ], - "options": { - "configFilePath": "/workspaces/somerepo/src/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src 1 undefined Config: /workspaces/somerepo/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src 1 undefined Config: /workspaces/somerepo/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json 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 fdc41d6afad06..6337a9c08a0f0 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 @@ -42,16 +42,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/index.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/index.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/index.ts" @@ -62,6 +52,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/index.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /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 2bd72976b40ef..3fd3250b78894 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 @@ -52,16 +52,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/main.ts" @@ -77,6 +67,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 f64afa267e007..6a493fe1594f4 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 @@ -78,16 +78,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 {"excludeDirectories":["node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { "rootNames": [ "/user/username/projects/myproject/src/main.ts" @@ -103,6 +93,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 {"excludeDirectories":["node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/src/main.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json 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 1660d9807654b..3ee837bd68ce7 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 @@ -65,6 +65,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: /a/b:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 {"fallbackPolling":1} Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/commonFile1.ts", + "/user/username/projects/project/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -75,15 +84,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/commonFile1.ts", - "/user/username/projects/project/commonFile2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"fallbackPolling":1} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"fallbackPolling":1} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 {"fallbackPolling":1} WatchType: Closed Script info 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 d76050c99e9a2..76153c816cd0a 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 @@ -69,16 +69,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: /a/b:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 {"fallbackPolling":1} Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/commonFile1.ts", @@ -91,6 +81,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : "fallbackPolling": 1 } } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"fallbackPolling":1} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"fallbackPolling":1} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 {"fallbackPolling":1} WatchType: Closed Script info 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 e6aa7f8505a24..2d6b5b8454799 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 @@ -65,6 +65,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: /a/b:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 {"watchDirectory":0} Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/commonFile1.ts", + "/user/username/projects/project/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -75,15 +84,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/commonFile1.ts", - "/user/username/projects/project/commonFile2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchDirectory":0} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchDirectory":0} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 {"watchDirectory":0} WatchType: Closed Script info 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 24d73cd3b3ee4..cf2f393a30e89 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: /a/b:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/commonFile1.ts", @@ -69,6 +59,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 {"watchDirectory":0} Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchDirectory":0} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchDirectory":0} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info 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 e58f86a6f796e..0c6b5e418cacb 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 @@ -65,6 +65,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: /a/b:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 {"watchFile":4} Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { + "rootNames": [ + "/user/username/projects/project/commonFile1.ts", + "/user/username/projects/project/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/project/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -75,15 +84,6 @@ Info seq [hh:mm:ss:mss] event: "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { - "rootNames": [ - "/user/username/projects/project/commonFile1.ts", - "/user/username/projects/project/commonFile2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/project/tsconfig.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchFile":4} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchFile":4} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 {"watchFile":4} WatchType: Closed Script info 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 368d269b38687..f5510d038d338 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 @@ -45,16 +45,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/project/commonFile1.ts ProjectRootPath: /a/b:: Result: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/project/tsconfig.json, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" - } - } Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : { "rootNames": [ "/user/username/projects/project/commonFile1.ts", @@ -69,6 +59,16 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json : } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 {"watchFile":4} Project: /user/username/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/project/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/project/commonFile1.ts to open" + } + } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchFile":4} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchFile":4} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info diff --git a/tests/cases/fourslash/server/getFileReferences_deduplicate.ts b/tests/cases/fourslash/server/getFileReferences_deduplicate.ts index d54dd83bbe201..9c542f9a88100 100644 --- a/tests/cases/fourslash/server/getFileReferences_deduplicate.ts +++ b/tests/cases/fourslash/server/getFileReferences_deduplicate.ts @@ -18,6 +18,8 @@ // @Filename: /home/src/workspaces/project/util.ts //// export {} +goTo.file("/home/src/workspaces/project/index.ts"); +goTo.file("/home/src/workspaces/project/test.ts"); // util.ts is referenced by index.ts, which is included in tsconfig.build.json and tsconfig.test.json. // That reference will be returned from both projects' language services. Test ensures it gets deduplicated. verify.baselineGetFileReferences("/home/src/workspaces/project/util.ts"); diff --git a/tests/cases/fourslash/server/getFileReferences_server2.ts b/tests/cases/fourslash/server/getFileReferences_server2.ts index 4508d521b2daa..25acfa0e02336 100644 --- a/tests/cases/fourslash/server/getFileReferences_server2.ts +++ b/tests/cases/fourslash/server/getFileReferences_server2.ts @@ -1,4 +1,4 @@ -/// + /// // @Filename: /home/src/workspaces/project/tsconfig.json //// { "files": [], "references": [{ "path": "packages/server" }, { "path": "packages/client" }] } @@ -24,4 +24,6 @@ // @Filename: /home/src/workspaces/project/packages/client/index.ts //// import "@shared/referenced"; +goTo.file("/home/src/workspaces/project/packages/server/index.js"); +goTo.file("/home/src/workspaces/project/packages/client/index.ts"); verify.baselineGetFileReferences("/home/src/workspaces/project/packages/shared/src/referenced.ts"); From c48c0586d2e445b5ca725d3a308cc1524d9ed092 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 4 Sep 2024 16:30:29 -0700 Subject: [PATCH 06/10] Some projectInfo tests --- src/testRunner/unittests/helpers/tsserver.ts | 13 + .../unittests/tsserver/cancellationToken.ts | 6 +- .../unittests/tsserver/configuredProjects.ts | 47 +- .../unittests/tsserver/projectReferences.ts | 8 +- ...-and-file-from-first-config-is-not-open.js | 636 +++++++++++- ...file-when-parent-folder-has-config-file.js | 975 +++++++++++++++-- ...-and-file-from-first-config-is-not-open.js | 643 +++++++++++- ...-config-file-with-sibling-jsconfig-file.js | 982 ++++++++++++++++-- ...gured-project-does-not-contain-the-file.js | 22 +- ...indirect-project-but-not-in-another-one.js | 46 +- ...dProjectLoad-is-set-in-indirect-project.js | 46 +- ...-if-disableReferencedProjectLoad-is-set.js | 46 +- ...ject-is-directly-referenced-by-solution.js | 82 +- ...ct-is-indirectly-referenced-by-solution.js | 82 +- ...indirect-project-but-not-in-another-one.js | 46 +- ...dProjectLoad-is-set-in-indirect-project.js | 46 +- ...-if-disableReferencedProjectLoad-is-set.js | 46 +- ...ces-open-file-through-project-reference.js | 82 +- ...ct-is-indirectly-referenced-by-solution.js | 82 +- ...-composite-with-file-open-before-revert.js | 75 +- ...nfig-tree-found-appConfig-not-composite.js | 75 +- ...fig-change-with-file-open-before-revert.js | 75 +- ...rst-config-tree-found-demoConfig-change.js | 75 +- ...config-tree-found-finds-default-project.js | 86 +- ...fig-delete-with-file-open-before-revert.js | 75 +- ...config-tree-found-solutionConfig-delete.js | 75 +- ...ce-to-demo-with-file-open-before-revert.js | 75 +- ...olutionConfig-without-reference-to-demo.js | 75 +- 28 files changed, 4176 insertions(+), 446 deletions(-) diff --git a/src/testRunner/unittests/helpers/tsserver.ts b/src/testRunner/unittests/helpers/tsserver.ts index 5f17f30e83e1c..59628cfd50a91 100644 --- a/src/testRunner/unittests/helpers/tsserver.ts +++ b/src/testRunner/unittests/helpers/tsserver.ts @@ -462,6 +462,19 @@ export function openFilesForSession( } } +export function projectInfoForSession( + session: TestSession, + file: string | File, +) { + return session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.ProjectInfo, + arguments: { + file: ts.isString(file) ? file : file.path, + needFileNameList: false, + }, + }).response as ts.server.protocol.ProjectInfo; +} + export function closeFilesForSession(files: readonly (File | string)[], session: TestSession): void { for (const file of files) { session.executeCommandSeq({ diff --git a/src/testRunner/unittests/tsserver/cancellationToken.ts b/src/testRunner/unittests/tsserver/cancellationToken.ts index ecea60564965f..5133f2a5d5f67 100644 --- a/src/testRunner/unittests/tsserver/cancellationToken.ts +++ b/src/testRunner/unittests/tsserver/cancellationToken.ts @@ -2,6 +2,7 @@ import * as ts from "../../_namespaces/ts.js"; import { jsonToReadableText } from "../helpers.js"; import { baselineTsserverLogs, + projectInfoForSession, TestSession, TestSessionRequest, } from "../helpers/tsserver.js"; @@ -88,10 +89,7 @@ describe("unittests:: tsserver:: cancellationToken::", () => { }); // run new request - session.executeCommandSeq({ - command: ts.server.protocol.CommandTypes.ProjectInfo, - arguments: { file: f1.path, needFileNameList: false }, - }); + projectInfoForSession(session, f1); // cancel previously issued Geterr session.serverCancellationToken.setRequestToCancel(getErrId); diff --git a/src/testRunner/unittests/tsserver/configuredProjects.ts b/src/testRunner/unittests/tsserver/configuredProjects.ts index 0f8bfa15e691f..f8014a45f727d 100644 --- a/src/testRunner/unittests/tsserver/configuredProjects.ts +++ b/src/testRunner/unittests/tsserver/configuredProjects.ts @@ -6,6 +6,7 @@ import { baselineTsserverLogs, closeFilesForSession, openFilesForSession, + projectInfoForSession, TestSession, verifyGetErrRequest, } from "../helpers/tsserver.js"; @@ -152,6 +153,7 @@ describe("unittests:: tsserver:: configuredProjects::", () => { const { host, session, commonFile1, commonFile2, configFile } = setup(parentOrSiblingConfigFile); openFilesForSession([commonFile1], session); + projectInfoForSession(session, commonFile1); session.logger.log("1: When config file is deleted and then another file is opened"); // remove the tsconfig file @@ -236,6 +238,27 @@ describe("unittests:: tsserver:: configuredProjects::", () => { openFilesForSession([commonFile1, commonFile2], session); closeFilesForSession([commonFile2], session); openFilesForSession([{ file: "/user/username/projects/random/random.ts", content: "export const y = 10;" }], session); + closeFilesForSession(["/user/username/projects/random/random.ts"], session); + + session.logger.log("7: When config file is deleted and then another file is opened and projectInfo"); + // remove the tsconfig file + host.deleteFile(configFile.path); + openFilesForSession([commonFile2], session); + + projectInfoForSession(session, commonFile1); + projectInfoForSession(session, commonFile2); + + // Add a tsconfig file + host.writeFile(configFile.path, configFile.content); + host.runQueuedTimeoutCallbacks(); + + session.logger.log("8: When both files are open and config file is deleted and projectInfo"); + // remove the tsconfig file + host.deleteFile(configFile.path); + host.runQueuedTimeoutCallbacks(); + + projectInfoForSession(session, commonFile1); + projectInfoForSession(session, commonFile2); baselineTsserverLogs("configuredProjects", `add and then remove a config file ${scenario}`, session); }); @@ -243,6 +266,7 @@ describe("unittests:: tsserver:: configuredProjects::", () => { it(`add and then remove a config file ${scenario} and file from first config is not open`, () => { const { host, session, commonFile2, configFile } = setup(parentOrSiblingConfigFile); openFilesForSession([commonFile2], session); + projectInfoForSession(session, commonFile2); session.logger.log("1: When config file is deleted"); // remove the tsconfig file @@ -271,6 +295,27 @@ describe("unittests:: tsserver:: configuredProjects::", () => { closeFilesForSession([commonFile2], session); openFilesForSession([{ file: "/user/username/projects/random/random.ts", content: "export const y = 10;" }], session); + // Add a tsconfig file + host.writeFile(configFile.path, configFile.content); + host.runQueuedTimeoutCallbacks(); + closeFilesForSession(["/user/username/projects/random/random.ts"], session); + openFilesForSession([commonFile2], session); + + session.logger.log("3: When config file is deleted and projectInfo"); + // remove the tsconfig file + host.deleteFile(configFile.path); + host.runQueuedTimeoutCallbacks(); + projectInfoForSession(session, commonFile2); + + // Add a tsconfig file + host.writeFile(configFile.path, configFile.content); + host.runQueuedTimeoutCallbacks(); + + session.logger.log("4: Check when file is closed when config file is deleted and projectInfo"); + // remove the tsconfig file + host.deleteFile(configFile.path); + projectInfoForSession(session, commonFile2); + baselineTsserverLogs("configuredProjects", `add and then remove a config file ${scenario} and file from first config is not open`, session); }); } @@ -995,7 +1040,7 @@ foo();`, endOffset: 1, }, }); - session.logger.log(`Default project for file: ${fooDts}: ${session.getProjectService().tryGetDefaultProjectForFile(ts.server.toNormalizedPath(fooDts))?.projectName}`); + projectInfoForSession(session, fooDts); baselineTsserverLogs("configuredProjects", "when default configured project does not contain the file", session); }); diff --git a/src/testRunner/unittests/tsserver/projectReferences.ts b/src/testRunner/unittests/tsserver/projectReferences.ts index 58f5d2f99b7d1..e6d333c5c6dda 100644 --- a/src/testRunner/unittests/tsserver/projectReferences.ts +++ b/src/testRunner/unittests/tsserver/projectReferences.ts @@ -7,6 +7,7 @@ import { closeFilesForSession, createHostWithSolutionBuild, openFilesForSession, + projectInfoForSession, protocolFileLocationFromSubstring, protocolLocationFromSubstring, TestSession, @@ -23,7 +24,10 @@ function logDefaultProjectAndDefaultConfiguredProject(session: TestSession, file const defaultProject = session.getProjectService().tryGetDefaultProjectForFile(file.path as ts.server.NormalizedPath); const defaultConfiguredProject = info && session.getProjectService().findDefaultConfiguredProject(info); session.logger.info(`File: ${file.path}:\n\tgetDefaultProjectForFile:\n\t\t${defaultProject?.projectName}\n\tfindDefaultConfiguredProject:\n\t\t${defaultConfiguredProject?.projectName}`); - return { defaultProject, defaultConfiguredProject }; + if (info) { + const projectInfo = projectInfoForSession(session, file); + return session.getProjectService().findProject(projectInfo.configFileName); + } } describe("unittests:: tsserver:: with projectReferences:: and tsbuild", () => { @@ -1080,7 +1084,7 @@ export function bar() {}`, function verifySolutionScenario(input: Setup) { const { session, host } = setup(input); - const { defaultProject } = logDefaultProjectAndDefaultConfiguredProject(session, main); + const defaultProject = logDefaultProjectAndDefaultConfiguredProject(session, main); // Verify errors verifyGetErrRequest({ session, files: [main] }); diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js index 2fb8c2677ba41..1144c25eb8584 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js @@ -318,6 +318,28 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig.json *default* +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + 1: When config file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -514,7 +536,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -561,7 +583,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -634,7 +656,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -658,7 +680,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -733,7 +755,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -756,7 +778,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -836,7 +858,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -908,7 +930,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 5, + "request_seq": 6, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -993,7 +1015,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1008,7 +1030,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 6, + "request_seq": 7, "success": true } After request @@ -1055,7 +1077,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -1212,7 +1234,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1301,7 +1323,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 8, + "seq": 9, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -1319,7 +1341,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 8, + "request_seq": 9, "success": true } After request @@ -1382,7 +1404,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 9, + "seq": 10, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -1459,7 +1481,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 9, + "request_seq": 10, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1535,3 +1557,585 @@ ScriptInfos:: version: SVC-3-0 containingProjects: 1 /dev/null/inferredProject2* *default* + +Before running Timeout callback:: count: 1 +4: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] +{ + "files": [ + "commonFile1.ts" + ] +} + + +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +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] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +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] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/random/random.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/random/random.ts" + ] + } + } +After running Timeout callback:: count: 0 + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/user/username/projects/random/random.ts" + }, + "seq": 11, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +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] Open files: +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 11, + "success": true + } +After request + +PolledWatches:: +/user/username/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/random/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/random/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/random/tsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} + +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* + autoImportProviderHost: false + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/user/username/projects/random/random.ts *deleted* + open: false *changed* + version: SVC-3-0 + containingProjects: 0 *changed* + /dev/null/inferredProject2* *deleted* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts" + }, + "seq": 12, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/folder/commonFile1.ts Text-3 "let x = 1" + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile1.ts + 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": "/user/username/projects/myproject/folder/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/folder/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] 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] 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 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/folder/commonFile2.ts SVC-3-0 "let y = 1" + + + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + folder/commonFile2.ts + 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": "/user/username/projects/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/random/random.ts + + + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + random.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 12, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/commonFile1.ts: *new* + {} +/user/username/projects/myproject/folder/tsconfig.json: *new* + {} +/user/username/projects/myproject/tsconfig.json: *new* + {} + +Projects:: +/dev/null/inferredProject2* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true + autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/folder/tsconfig.json *new* + /user/username/projects/myproject/tsconfig.json *new* + /dev/null/inferredProject2* *deleted* +/user/username/projects/myproject/folder/commonFile1.ts *new* + version: Text-3 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* + version: SVC-3-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + +3: When config file is deleted and projectInfo +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 1 +5: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 1 +5: *ensureProjectForOpenFiles* *new* + +Projects:: +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile2.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ] + } + } +After running Timeout callback:: count: 0 + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts", + "needFileNameList": false + }, + "seq": 13, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +6: /user/username/projects/myproject/folder/tsconfig.json +7: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] +{ + "files": [ + "commonFile1.ts" + ] +} + + +Timeout callback:: count: 2 +6: /user/username/projects/myproject/folder/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* + +Projects:: +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: false *changed* + deferredClose: undefined *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/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: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/user/username/projects/myproject/folder/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/tsconfig.json", + "configFile": "/user/username/projects/myproject/folder/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile2.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ] + } + } +After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +4: Check when file is closed when config file is deleted and projectInfo +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before request +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 1 +8: *ensureProjectForOpenFiles* *new* + +Projects:: +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts", + "needFileNameList": false + }, + "seq": 14, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js index c61213b667737..251c32d9274df 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js @@ -201,6 +201,28 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile1.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/folder/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + 1: When config file is deleted and then another file is opened Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -226,7 +248,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -347,7 +369,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -537,7 +559,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -586,7 +608,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 3, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -657,7 +679,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info @@ -683,7 +705,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -741,7 +763,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -765,7 +787,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 5, + "request_seq": 6, "success": true } After request @@ -840,7 +862,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -863,7 +885,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 6, + "request_seq": 7, "success": true } After request @@ -943,7 +965,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -1015,7 +1037,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1100,7 +1122,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 8, + "seq": 9, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1115,7 +1137,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 8, + "request_seq": 9, "success": true } After request @@ -1162,7 +1184,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 9, + "seq": 10, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -1255,7 +1277,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 9, + "request_seq": 10, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1312,7 +1334,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 10, + "seq": 11, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -1393,7 +1415,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 10, + "request_seq": 11, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1797,7 +1819,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 11, + "seq": 12, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -1859,7 +1881,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 11, + "request_seq": 12, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1935,7 +1957,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 12, + "seq": 13, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info @@ -1961,7 +1983,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 12, + "request_seq": 13, "success": true } After request @@ -2019,7 +2041,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 13, + "seq": 14, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -2043,7 +2065,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 13, + "request_seq": 14, "success": true } After request @@ -2118,7 +2140,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 14, + "seq": 15, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -2141,7 +2163,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 14, + "request_seq": 15, "success": true } After request @@ -2221,7 +2243,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 15, + "seq": 16, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -2293,7 +2315,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 15, + "request_seq": 16, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2378,7 +2400,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 16, + "seq": 17, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -2393,7 +2415,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 16, + "request_seq": 17, "success": true } After request @@ -2440,7 +2462,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 17, + "seq": 18, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -2533,7 +2555,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 17, + "request_seq": 18, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2607,7 +2629,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 18, + "seq": 19, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -2687,7 +2709,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 18, + "request_seq": 19, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2745,7 +2767,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 19, + "seq": 20, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info @@ -2765,7 +2787,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 19, + "request_seq": 20, "success": true } After request @@ -2812,7 +2834,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 20, + "seq": 21, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -2830,7 +2852,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 20, + "request_seq": 21, "success": true } After request @@ -2893,7 +2915,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 21, + "seq": 22, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -2970,7 +2992,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 21, + "request_seq": 22, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3062,7 +3084,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 22, + "seq": 23, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -3077,7 +3099,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 22, + "request_seq": 23, "success": true } After request @@ -3125,7 +3147,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 23, + "seq": 24, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -3218,7 +3240,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 23, + "request_seq": 24, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3294,7 +3316,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 24, + "seq": 25, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -3374,7 +3396,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 24, + "request_seq": 25, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3432,7 +3454,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 25, + "seq": 26, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info @@ -3452,7 +3474,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 25, + "request_seq": 26, "success": true } After request @@ -3500,7 +3522,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 26, + "seq": 27, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -3547,7 +3569,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 26, + "request_seq": 27, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3622,7 +3644,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 27, + "seq": 28, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -3646,7 +3668,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 27, + "request_seq": 28, "success": true } After request @@ -3723,7 +3745,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 28, + "seq": 29, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -3746,7 +3768,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 28, + "request_seq": 29, "success": true } After request @@ -3828,7 +3850,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 29, + "seq": 30, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -3900,7 +3922,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 29, + "request_seq": 30, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3994,7 +4016,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 30, + "seq": 31, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -4009,7 +4031,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 30, + "request_seq": 31, "success": true } After request @@ -4056,7 +4078,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 31, + "seq": 32, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -4149,7 +4171,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 31, + "request_seq": 32, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -4224,7 +4246,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 32, + "seq": 33, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -4304,7 +4326,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 32, + "request_seq": 33, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -4362,7 +4384,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 33, + "seq": 34, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -4382,7 +4404,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 33, + "request_seq": 34, "success": true } After request @@ -4442,7 +4464,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 34, + "seq": 35, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -4504,7 +4526,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 34, + "request_seq": 35, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -4583,7 +4605,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 35, + "seq": 36, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info @@ -4603,7 +4625,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 35, + "request_seq": 36, "success": true } After request @@ -4666,7 +4688,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 36, + "seq": 37, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -4685,7 +4707,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 36, + "request_seq": 37, "success": true } After request @@ -4753,7 +4775,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 37, + "seq": 38, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -4806,7 +4828,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 37, + "request_seq": 38, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -4886,7 +4908,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 38, + "seq": 39, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -4901,7 +4923,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 38, + "request_seq": 39, "success": true } After request @@ -4948,7 +4970,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 39, + "seq": 40, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -5041,7 +5063,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 39, + "request_seq": 40, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -5098,7 +5120,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 40, + "seq": 41, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -5179,7 +5201,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 40, + "request_seq": 41, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -5236,7 +5258,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 41, + "seq": 42, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -5256,7 +5278,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 41, + "request_seq": 42, "success": true } After request @@ -5315,7 +5337,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 42, + "seq": 43, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -5377,7 +5399,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 42, + "request_seq": 43, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -5446,3 +5468,792 @@ ScriptInfos:: version: SVC-10-0 containingProjects: 1 /dev/null/inferredProject7* *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/user/username/projects/random/random.ts" + }, + "seq": 44, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject7*' (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/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 44, + "success": true + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/random/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/random/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/random/tsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject7* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/folder/tsconfig.json + /dev/null/inferredProject7* +/user/username/projects/myproject/folder/commonFile1.ts (Open) + version: SVC-6-0 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json *default* +/user/username/projects/random/random.ts *deleted* + open: false *changed* + version: SVC-10-0 + containingProjects: 0 *changed* + /dev/null/inferredProject7* *deleted* + +7: When config file is deleted and then another file is opened and projectInfo +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before request +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 1 +9: *ensureProjectForOpenFiles* *deleted* +10: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject7* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isOrphan: true + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* + autoImportProviderHost: undefined *changed* + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts" + }, + "seq": 45, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/tsconfig.json, currentDirectory: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: 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] Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] 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] 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 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) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/folder/commonFile2.ts SVC-7-0 "let y = 1" + + + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + folder/commonFile2.ts + 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": "/user/username/projects/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/random/random.ts + + + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + random.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/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: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 45, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: *new* + {} + +Projects:: +/dev/null/inferredProject7* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true + autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json *new* + /dev/null/inferredProject7* *deleted* +/user/username/projects/myproject/folder/commonFile1.ts (Open) + version: SVC-6-0 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* + version: SVC-7-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile1.ts", + "needFileNameList": false + }, + "seq": 46, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject8*, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +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/inferredProject8* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* 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/inferredProject8* WatchType: Type roots +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 (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/folder/commonFile1.ts SVC-6-0 "let x = 1" + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile1.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/dev/null/inferredProject8*", + "languageServiceDisabled": false + }, + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject8* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject8* *new* +/user/username/projects/myproject/folder/commonFile1.ts (Open) *changed* + version: SVC-6-0 + containingProjects: 2 *changed* + /dev/null/inferredProject8* *default* *new* + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) + version: SVC-7-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts", + "needFileNameList": false + }, + "seq": 47, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +11: /user/username/projects/myproject/folder/tsconfig.json +12: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] +{ + "files": [ + "commonFile1.ts" + ] +} + + +Timeout callback:: count: 2 +10: *ensureProjectForOpenFiles* *deleted* +11: /user/username/projects/myproject/folder/tsconfig.json *new* +12: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: false *changed* + deferredClose: undefined *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/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: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/user/username/projects/myproject/folder/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/tsconfig.json", + "configFile": "/user/username/projects/myproject/folder/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/inferredProject8*' (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/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject8*,/user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/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: /dev/null/inferredProject8* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + + + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/inferredProject8*' (Inferred) +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] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile1.ts,/user/username/projects/myproject/folder/commonFile2.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/myproject/folder/commonFile1.ts", + "/user/username/projects/myproject/folder/commonFile2.ts" + ] + } + } +After running Timeout callback:: count: 0 + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/myproject/folder/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject8* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + isOrphan: true *changed* + autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject8* *deleted* +/user/username/projects/myproject/folder/commonFile1.ts (Open) *changed* + version: SVC-6-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/folder/tsconfig.json *default* + /dev/null/inferredProject8* *deleted* +/user/username/projects/myproject/folder/commonFile2.ts (Open) + version: SVC-7-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + +8: When both files are open and config file is deleted and projectInfo +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 1 +13: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 1 +13: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 + isOrphan: true +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/inferredProject8*' (Inferred) +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] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +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/inferredProject8* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/folder/commonFile1.ts SVC-6-0 "let x = 1" + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile1.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/tsconfig.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/inferredProject8*' (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/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject8*,/user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile1.ts,/user/username/projects/myproject/folder/commonFile2.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/myproject/folder/commonFile1.ts", + "/user/username/projects/myproject/folder/commonFile2.ts" + ] + } + } +After running Timeout callback:: count: 0 + +PolledWatches:: +/user/username/projects/myproject/folder/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject8* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + isOrphan: false *changed* +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject8* *new* +/user/username/projects/myproject/folder/commonFile1.ts (Open) *changed* + version: SVC-6-0 + containingProjects: 2 *changed* + /dev/null/inferredProject8* *default* *new* + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) + version: SVC-7-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile1.ts", + "needFileNameList": false + }, + "seq": 48, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/dev/null/inferredProject8*", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts", + "needFileNameList": false + }, + "seq": 49, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js index bddd7d71ebd16..5ecc90a013112 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js @@ -334,6 +334,28 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/folder/jsconfig.json *default* +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/folder/jsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + 1: When config file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json @@ -530,7 +552,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -577,7 +599,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -650,7 +672,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -674,7 +696,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -749,7 +771,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -772,7 +794,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -852,7 +874,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -926,7 +948,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 5, + "request_seq": 6, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1011,7 +1033,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1026,7 +1048,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 6, + "request_seq": 7, "success": true } After request @@ -1073,7 +1095,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -1237,7 +1259,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1326,7 +1348,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 8, + "seq": 9, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -1344,7 +1366,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 8, + "request_seq": 9, "success": true } After request @@ -1407,7 +1429,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 9, + "seq": 10, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -1486,7 +1508,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 9, + "request_seq": 10, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1562,3 +1584,592 @@ ScriptInfos:: version: SVC-3-0 containingProjects: 1 /dev/null/inferredProject2* *default* + +Before running Timeout callback:: count: 1 +4: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] +{ + "files": [ + "commonFile1.ts" + ] +} + + +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +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] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +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] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/random/random.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/random/random.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/random/random.ts" + ] + } + } +After running Timeout callback:: count: 0 + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/user/username/projects/random/random.ts" + }, + "seq": 11, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +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] Open files: +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 11, + "success": true + } +After request + +PolledWatches:: +/user/username/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/random/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/random/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/random/tsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} + +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* + autoImportProviderHost: false + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/user/username/projects/random/random.ts *deleted* + open: false *changed* + version: SVC-3-0 + containingProjects: 0 *changed* + /dev/null/inferredProject2* *deleted* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts" + }, + "seq": 12, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/tsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/tsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/folder/commonFile1.ts Text-3 "let x = 1" + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile1.ts + 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": "/user/username/projects/myproject/folder/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/folder/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "allowJs": true, + "maxNodeModuleJsDepth": 2, + "allowSyntheticDefaultImports": true, + "skipLibCheck": true, + "noEmit": true, + "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" + } +} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/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/folder/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/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/folder/commonFile2.ts SVC-3-0 "let y = 1" + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + 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": "/user/username/projects/myproject/folder/jsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/folder/jsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/random/random.ts + + + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + random.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/jsconfig.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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 12, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/commonFile1.ts: *new* + {} +/user/username/projects/myproject/folder/jsconfig.json: *new* + {} +/user/username/projects/myproject/folder/tsconfig.json: *new* + {} + +Projects:: +/dev/null/inferredProject2* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true + autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/folder/tsconfig.json *new* + /user/username/projects/myproject/folder/jsconfig.json *new* + /dev/null/inferredProject2* *deleted* +/user/username/projects/myproject/folder/commonFile1.ts *new* + version: Text-3 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* + version: SVC-3-0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* + +3: When config file is deleted and projectInfo +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 1 +5: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 1 +5: *ensureProjectForOpenFiles* *new* + +Projects:: +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* + +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/jsconfig.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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/jsconfig.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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile2.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ] + } + } +After running Timeout callback:: count: 0 + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts", + "needFileNameList": false + }, + "seq": 13, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/folder/jsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +6: /user/username/projects/myproject/folder/tsconfig.json +7: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] +{ + "files": [ + "commonFile1.ts" + ] +} + + +Timeout callback:: count: 2 +6: /user/username/projects/myproject/folder/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* + +Projects:: +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: false *changed* + deferredClose: undefined *changed* + +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/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: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/user/username/projects/myproject/folder/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/tsconfig.json", + "configFile": "/user/username/projects/myproject/folder/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/jsconfig.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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/jsconfig.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: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile2.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ] + } + } +After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + +4: Check when file is closed when config file is deleted and projectInfo +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before request +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 1 +8: *ensureProjectForOpenFiles* *new* + +Projects:: +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts", + "needFileNameList": false + }, + "seq": 14, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/folder/jsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js index a3cf3ed507e84..e4ad70350341d 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js @@ -204,6 +204,28 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile1.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/folder/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + 1: When config file is deleted and then another file is opened Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json @@ -229,7 +251,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json @@ -363,7 +385,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -553,7 +575,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -602,7 +624,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 3, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -673,7 +695,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info @@ -699,7 +721,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -757,7 +779,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -781,7 +803,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 5, + "request_seq": 6, "success": true } After request @@ -856,7 +878,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -879,7 +901,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 6, + "request_seq": 7, "success": true } After request @@ -959,7 +981,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -1033,7 +1055,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1118,7 +1140,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 8, + "seq": 9, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1133,7 +1155,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 8, + "request_seq": 9, "success": true } After request @@ -1180,7 +1202,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 9, + "seq": 10, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -1273,7 +1295,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 9, + "request_seq": 10, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1330,7 +1352,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 10, + "seq": 11, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -1418,7 +1440,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 10, + "request_seq": 11, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1822,7 +1844,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 11, + "seq": 12, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -1884,7 +1906,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 11, + "request_seq": 12, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1960,7 +1982,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 12, + "seq": 13, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info @@ -1986,7 +2008,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 12, + "request_seq": 13, "success": true } After request @@ -2044,7 +2066,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 13, + "seq": 14, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -2068,7 +2090,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 13, + "request_seq": 14, "success": true } After request @@ -2143,7 +2165,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 14, + "seq": 15, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -2166,7 +2188,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 14, + "request_seq": 15, "success": true } After request @@ -2246,7 +2268,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 15, + "seq": 16, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -2320,7 +2342,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 15, + "request_seq": 16, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2405,7 +2427,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 16, + "seq": 17, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -2420,7 +2442,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 16, + "request_seq": 17, "success": true } After request @@ -2467,7 +2489,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 17, + "seq": 18, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -2560,7 +2582,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 17, + "request_seq": 18, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2634,7 +2656,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 18, + "seq": 19, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json @@ -2721,7 +2743,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 18, + "request_seq": 19, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2779,7 +2801,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 19, + "seq": 20, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info @@ -2799,7 +2821,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 19, + "request_seq": 20, "success": true } After request @@ -2846,7 +2868,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 20, + "seq": 21, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -2864,7 +2886,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 20, + "request_seq": 21, "success": true } After request @@ -2927,7 +2949,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 21, + "seq": 22, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -3006,7 +3028,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 21, + "request_seq": 22, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3098,7 +3120,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 22, + "seq": 23, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -3113,7 +3135,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 22, + "request_seq": 23, "success": true } After request @@ -3161,7 +3183,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 23, + "seq": 24, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -3254,7 +3276,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 23, + "request_seq": 24, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3330,7 +3352,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 24, + "seq": 25, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json @@ -3417,7 +3439,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 24, + "request_seq": 25, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3475,7 +3497,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 25, + "seq": 26, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info @@ -3495,7 +3517,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 25, + "request_seq": 26, "success": true } After request @@ -3543,7 +3565,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 26, + "seq": 27, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -3590,7 +3612,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 26, + "request_seq": 27, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3665,7 +3687,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 27, + "seq": 28, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -3689,7 +3711,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 27, + "request_seq": 28, "success": true } After request @@ -3766,7 +3788,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 28, + "seq": 29, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -3789,7 +3811,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 28, + "request_seq": 29, "success": true } After request @@ -3871,7 +3893,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 29, + "seq": 30, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -3945,7 +3967,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 29, + "request_seq": 30, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -4039,7 +4061,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 30, + "seq": 31, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -4054,7 +4076,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 30, + "request_seq": 31, "success": true } After request @@ -4101,7 +4123,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 31, + "seq": 32, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -4194,7 +4216,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 31, + "request_seq": 32, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -4269,7 +4291,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 32, + "seq": 33, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json @@ -4356,7 +4378,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 32, + "request_seq": 33, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -4414,7 +4436,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 33, + "seq": 34, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -4434,7 +4456,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 33, + "request_seq": 34, "success": true } After request @@ -4494,7 +4516,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 34, + "seq": 35, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -4558,7 +4580,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 34, + "request_seq": 35, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -4637,7 +4659,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 35, + "seq": 36, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info @@ -4657,7 +4679,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 35, + "request_seq": 36, "success": true } After request @@ -4720,7 +4742,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 36, + "seq": 37, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -4739,7 +4761,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 36, + "request_seq": 37, "success": true } After request @@ -4807,7 +4829,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 37, + "seq": 38, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -4860,7 +4882,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 37, + "request_seq": 38, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -4940,7 +4962,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/random/random.ts" }, - "seq": 38, + "seq": 39, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -4955,7 +4977,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 38, + "request_seq": 39, "success": true } After request @@ -5002,7 +5024,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts" }, - "seq": 39, + "seq": 40, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -5095,7 +5117,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 39, + "request_seq": 40, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -5152,7 +5174,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 40, + "seq": 41, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json @@ -5240,7 +5262,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 40, + "request_seq": 41, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -5297,7 +5319,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts" }, - "seq": 41, + "seq": 42, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -5317,7 +5339,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 41, + "request_seq": 42, "success": true } After request @@ -5376,7 +5398,7 @@ Info seq [hh:mm:ss:mss] request: "file": "/user/username/projects/random/random.ts", "fileContent": "export const y = 10;" }, - "seq": 42, + "seq": 43, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/random/random.ts ProjectRootPath: undefined:: Result: undefined @@ -5440,7 +5462,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 42, + "request_seq": 43, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -5509,3 +5531,799 @@ ScriptInfos:: version: SVC-10-0 containingProjects: 1 /dev/null/inferredProject7* *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/user/username/projects/random/random.ts" + }, + "seq": 44, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/random/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.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/inferredProject7*' (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/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 44, + "success": true + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/random/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/random/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/random/tsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject7* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/folder/tsconfig.json + /dev/null/inferredProject7* +/user/username/projects/myproject/folder/commonFile1.ts (Open) + version: SVC-6-0 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json *default* +/user/username/projects/random/random.ts *deleted* + open: false *changed* + version: SVC-10-0 + containingProjects: 0 *changed* + /dev/null/inferredProject7* *deleted* + +7: When config file is deleted and then another file is opened and projectInfo +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before request +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 1 +9: *ensureProjectForOpenFiles* *deleted* +10: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject7* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isOrphan: true + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* + autoImportProviderHost: undefined *changed* + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts" + }, + "seq": 45, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /user/username/projects/myproject/folder/jsconfig.json, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile2.ts" + ], + "options": { + "allowJs": true, + "maxNodeModuleJsDepth": 2, + "allowSyntheticDefaultImports": true, + "skipLibCheck": true, + "noEmit": true, + "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" + } +} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/jsconfig.json", + "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/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/folder/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/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/folder/commonFile2.ts SVC-7-0 "let y = 1" + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + 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": "/user/username/projects/myproject/folder/jsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/folder/jsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts + /user/username/projects/random/random.ts + + + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + random.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/random/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/jsconfig.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: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 45, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/jsconfig.json: *new* + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject7* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true + autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json *new* + /dev/null/inferredProject7* *deleted* +/user/username/projects/myproject/folder/commonFile1.ts (Open) + version: SVC-6-0 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* + version: SVC-7-0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile1.ts", + "needFileNameList": false + }, + "seq": 46, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/jsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject8*, currentDirectory: /user/username/projects/myproject/folder +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject8* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject8* 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/inferredProject8* WatchType: Type roots +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 (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/folder/commonFile1.ts SVC-6-0 "let x = 1" + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile1.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/dev/null/inferredProject8*", + "languageServiceDisabled": false + }, + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/jsconfig.json: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject8* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json + /dev/null/inferredProject8* *new* +/user/username/projects/myproject/folder/commonFile1.ts (Open) *changed* + version: SVC-6-0 + containingProjects: 2 *changed* + /dev/null/inferredProject8* *default* *new* + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) + version: SVC-7-0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts", + "needFileNameList": false + }, + "seq": 47, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/folder/jsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +11: /user/username/projects/myproject/folder/tsconfig.json +12: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] +{ + "files": [ + "commonFile1.ts" + ] +} + + +Timeout callback:: count: 2 +10: *ensureProjectForOpenFiles* *deleted* +11: /user/username/projects/myproject/folder/tsconfig.json *new* +12: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: false *changed* + deferredClose: undefined *changed* + +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/user/username/projects/myproject/folder/tsconfig.json", + "reason": "Change in config file detected" + } + } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/folder/commonFile1.ts" + ], + "options": { + "configFilePath": "/user/username/projects/myproject/folder/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/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: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/user/username/projects/myproject/folder/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/tsconfig.json", + "configFile": "/user/username/projects/myproject/folder/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/inferredProject8*' (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/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject8*,/user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.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: /dev/null/inferredProject8* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + + + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/inferredProject8*' (Inferred) +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] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile1.ts,/user/username/projects/myproject/folder/commonFile2.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/myproject/folder/commonFile1.ts", + "/user/username/projects/myproject/folder/commonFile2.ts" + ] + } + } +After running Timeout callback:: count: 0 + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/jsconfig.json: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject8* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + isOrphan: true *changed* + autoImportProviderHost: undefined *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json + /dev/null/inferredProject8* *deleted* +/user/username/projects/myproject/folder/commonFile1.ts (Open) *changed* + version: SVC-6-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/folder/tsconfig.json *default* + /dev/null/inferredProject8* *deleted* +/user/username/projects/myproject/folder/commonFile2.ts (Open) + version: SVC-7-0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* + +8: When both files are open and config file is deleted and projectInfo +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 1 +13: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 1 +13: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 + isOrphan: true +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* + +Host is moving to new time +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/inferredProject8*' (Inferred) +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] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/jsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/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/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject8* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface 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; };" + /user/username/projects/myproject/folder/commonFile1.ts SVC-6-0 "let x = 1" + + + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + commonFile1.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/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/myproject/folder/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/inferredProject8*' (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/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject8*,/user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/folder/commonFile1.ts,/user/username/projects/myproject/folder/commonFile2.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/myproject/folder/commonFile1.ts", + "/user/username/projects/myproject/folder/commonFile2.ts" + ] + } + } +After running Timeout callback:: count: 0 + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/jsconfig.json: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject8* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + isOrphan: false *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json + /dev/null/inferredProject8* *new* +/user/username/projects/myproject/folder/commonFile1.ts (Open) *changed* + version: SVC-6-0 + containingProjects: 2 *changed* + /dev/null/inferredProject8* *default* *new* + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) + version: SVC-7-0 + containingProjects: 1 + /user/username/projects/myproject/folder/jsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile1.ts", + "needFileNameList": false + }, + "seq": 48, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/dev/null/inferredProject8*", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts", + "needFileNameList": false + }, + "seq": 49, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/folder/jsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After 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 e10686f747f85..3b75af4de56ab 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 @@ -1029,4 +1029,24 @@ Info seq [hh:mm:ss:mss] response: } After request -Default project for file: /user/username/projects/myproject/foo/lib/index.d.ts: /user/username/projects/myproject/bar/tsconfig.json \ No newline at end of file +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/foo/lib/index.d.ts", + "needFileNameList": false + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/bar/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request 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 74b3a0b52ca7d..a2d150de8391a 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 @@ -404,13 +404,35 @@ Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/src/main.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig-src.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined @@ -457,7 +479,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -539,7 +561,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -563,7 +585,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -647,7 +669,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -671,7 +693,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -761,7 +783,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -817,7 +839,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 5, + "request_seq": 6, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -914,7 +936,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -1064,7 +1086,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 7, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1142,7 +1164,7 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "reloadProjects", - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] reload projects. @@ -1353,7 +1375,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "reloadProjects", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * 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 1bfcd86847432..ab56ac2cea3f6 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 @@ -275,13 +275,35 @@ Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: undefined Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/src/main.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/dev/null/inferredProject1*", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined @@ -330,7 +352,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -416,7 +438,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -440,7 +462,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -521,7 +543,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -541,7 +563,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -615,7 +637,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -663,7 +685,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 5, + "request_seq": 6, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -743,7 +765,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -833,7 +855,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 7, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -912,7 +934,7 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "reloadProjects", - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] reload projects. @@ -1071,7 +1093,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "reloadProjects", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * 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 d28c97b7c8ebf..c5a34b8dcbbe7 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 @@ -235,13 +235,35 @@ Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: undefined Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/src/main.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/dev/null/inferredProject1*", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined @@ -289,7 +311,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -371,7 +393,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -395,7 +417,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -476,7 +498,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -496,7 +518,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -570,7 +592,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -618,7 +640,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 5, + "request_seq": 6, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -698,7 +720,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -770,7 +792,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 7, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -847,7 +869,7 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "reloadProjects", - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] reload projects. @@ -989,7 +1011,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "reloadProjects", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * 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 4acd81dcef206..f4fd3669d2010 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 @@ -311,6 +311,28 @@ Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/src/main.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig-src.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "geterr", @@ -320,7 +342,7 @@ Info seq [hh:mm:ss:mss] request: "/user/username/projects/myproject/src/main.ts" ] }, - "seq": 2, + "seq": 3, "type": "request" } After request @@ -383,7 +405,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "requestCompleted", "body": { - "request_seq": 2, + "request_seq": 3, "performanceData": { "diagnosticsDuration": [ { @@ -406,7 +428,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined @@ -453,7 +475,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 3, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -531,7 +553,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -555,7 +577,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -635,7 +657,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -659,7 +681,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 5, + "request_seq": 6, "success": true } After request @@ -745,7 +767,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -799,7 +821,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 7, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -892,7 +914,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -1001,7 +1023,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1078,7 +1100,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 8, + "seq": 9, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1104,7 +1126,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 8, + "request_seq": 9, "success": true } After request @@ -1185,7 +1207,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 9, + "seq": 10, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -1217,7 +1239,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 9, + "request_seq": 10, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1301,7 +1323,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 10, + "seq": 11, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1327,7 +1349,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 10, + "request_seq": 11, "success": true } After request @@ -1887,7 +1909,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 11, + "seq": 12, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -1943,7 +1965,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 11, + "request_seq": 12, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2186,7 +2208,7 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "reloadProjects", - "seq": 12, + "seq": 13, "type": "request" } Info seq [hh:mm:ss:mss] reload projects. @@ -2358,7 +2380,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "reloadProjects", - "request_seq": 12, + "request_seq": 13, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2429,7 +2451,7 @@ Info seq [hh:mm:ss:mss] request: "line": 2, "offset": 10 }, - "seq": 13, + "seq": 14, "type": "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 @@ -2686,7 +2708,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 14, + "seq": 15, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -2710,7 +2732,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 14, + "request_seq": 15, "success": true } After request @@ -2801,7 +2823,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 15, + "seq": 16, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -2825,7 +2847,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 15, + "request_seq": 16, "success": true } After request @@ -2922,7 +2944,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/indirect3/main.ts" }, - "seq": 16, + "seq": 17, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/indirect3/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/indirect3/tsconfig.json @@ -3108,7 +3130,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 16, + "request_seq": 17, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3237,7 +3259,7 @@ Info seq [hh:mm:ss:mss] request: "line": 1, "offset": 10 }, - "seq": 17, + "seq": 18, "type": "request" } Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/indirect3/main.ts position 9 in project /user/username/projects/myproject/indirect3/tsconfig.json 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 08b5ca114b45a..3e7d1d2be292a 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 @@ -402,6 +402,28 @@ Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/src/main.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig-src.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "geterr", @@ -411,7 +433,7 @@ Info seq [hh:mm:ss:mss] request: "/user/username/projects/myproject/src/main.ts" ] }, - "seq": 2, + "seq": 3, "type": "request" } After request @@ -474,7 +496,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "requestCompleted", "body": { - "request_seq": 2, + "request_seq": 3, "performanceData": { "diagnosticsDuration": [ { @@ -497,7 +519,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined @@ -544,7 +566,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 3, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -626,7 +648,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -650,7 +672,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -734,7 +756,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -758,7 +780,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 5, + "request_seq": 6, "success": true } After request @@ -848,7 +870,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -904,7 +926,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 7, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1001,7 +1023,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -1150,7 +1172,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1231,7 +1253,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 8, + "seq": 9, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1257,7 +1279,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 8, + "request_seq": 9, "success": true } After request @@ -1342,7 +1364,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 9, + "seq": 10, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -1374,7 +1396,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 9, + "request_seq": 10, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1462,7 +1484,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 10, + "seq": 11, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1488,7 +1510,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 10, + "request_seq": 11, "success": true } After request @@ -2060,7 +2082,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 11, + "seq": 12, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -2116,7 +2138,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 11, + "request_seq": 12, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2363,7 +2385,7 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "reloadProjects", - "seq": 12, + "seq": 13, "type": "request" } Info seq [hh:mm:ss:mss] reload projects. @@ -2573,7 +2595,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "reloadProjects", - "request_seq": 12, + "request_seq": 13, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2648,7 +2670,7 @@ Info seq [hh:mm:ss:mss] request: "line": 2, "offset": 10 }, - "seq": 13, + "seq": 14, "type": "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 @@ -3221,7 +3243,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 14, + "seq": 15, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -3253,7 +3275,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 14, + "request_seq": 15, "success": true } After request @@ -3382,7 +3404,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 15, + "seq": 16, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -3414,7 +3436,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 15, + "request_seq": 16, "success": true } After request @@ -3549,7 +3571,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/indirect3/main.ts" }, - "seq": 16, + "seq": 17, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/indirect3/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/indirect3/tsconfig.json @@ -3785,7 +3807,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 16, + "request_seq": 17, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3954,7 +3976,7 @@ Info seq [hh:mm:ss:mss] request: "line": 1, "offset": 10 }, - "seq": 17, + "seq": 18, "type": "request" } Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/indirect3/main.ts position 9 in project /user/username/projects/myproject/indirect3/tsconfig.json 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 c838b2404c258..3b72416f6784e 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 @@ -535,13 +535,35 @@ Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/src/main.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig-src.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined @@ -588,7 +610,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -684,7 +706,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -708,7 +730,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -806,7 +828,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -830,7 +852,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -934,7 +956,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -1013,7 +1035,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 5, + "request_seq": 6, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1124,7 +1146,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -1337,7 +1359,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 7, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1429,7 +1451,7 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "reloadProjects", - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] reload projects. @@ -1711,7 +1733,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "reloadProjects", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * 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 6cc7a730aefe0..1346b268892b0 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 @@ -378,13 +378,35 @@ Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/src/main.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined @@ -427,7 +449,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -514,7 +536,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -534,7 +556,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -622,7 +644,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -642,7 +664,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -736,7 +758,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -793,7 +815,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 5, + "request_seq": 6, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -893,7 +915,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -1028,7 +1050,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 7, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1111,7 +1133,7 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "reloadProjects", - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] reload projects. @@ -1303,7 +1325,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "reloadProjects", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * 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 a7cf06db700f4..93586bcb16c18 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 @@ -328,13 +328,35 @@ Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/src/main.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined @@ -377,7 +399,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -456,7 +478,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -476,7 +498,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -556,7 +578,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -576,7 +598,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -662,7 +684,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -714,7 +736,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 5, + "request_seq": 6, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -806,7 +828,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -919,7 +941,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 7, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -994,7 +1016,7 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "reloadProjects", - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] reload projects. @@ -1164,7 +1186,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "reloadProjects", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * 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 c3edc6cb63eb2..96fc3ae440ca5 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 @@ -433,6 +433,28 @@ Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/src/main.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig-src.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "geterr", @@ -442,7 +464,7 @@ Info seq [hh:mm:ss:mss] request: "/user/username/projects/myproject/src/main.ts" ] }, - "seq": 2, + "seq": 3, "type": "request" } After request @@ -505,7 +527,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "requestCompleted", "body": { - "request_seq": 2, + "request_seq": 3, "performanceData": { "diagnosticsDuration": [ { @@ -528,7 +550,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined @@ -575,7 +597,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 3, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -661,7 +683,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -685,7 +707,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -773,7 +795,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -797,7 +819,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 5, + "request_seq": 6, "success": true } After request @@ -891,7 +913,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -964,7 +986,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 7, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1065,7 +1087,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -1233,7 +1255,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1318,7 +1340,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 8, + "seq": 9, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1344,7 +1366,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 8, + "request_seq": 9, "success": true } After request @@ -1433,7 +1455,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 9, + "seq": 10, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -1465,7 +1487,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 9, + "request_seq": 10, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1557,7 +1579,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 10, + "seq": 11, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1583,7 +1605,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 10, + "request_seq": 11, "success": true } After request @@ -2099,7 +2121,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 11, + "seq": 12, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -2142,7 +2164,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 11, + "request_seq": 12, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2400,7 +2422,7 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "reloadProjects", - "seq": 12, + "seq": 13, "type": "request" } Info seq [hh:mm:ss:mss] reload projects. @@ -2638,7 +2660,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "reloadProjects", - "request_seq": 12, + "request_seq": 13, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2706,7 +2728,7 @@ Info seq [hh:mm:ss:mss] request: "line": 2, "offset": 10 }, - "seq": 13, + "seq": 14, "type": "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 @@ -2928,7 +2950,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 14, + "seq": 15, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -2952,7 +2974,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 14, + "request_seq": 15, "success": true } After request @@ -3055,7 +3077,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 15, + "seq": 16, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -3079,7 +3101,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 15, + "request_seq": 16, "success": true } After request @@ -3188,7 +3210,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/indirect3/main.ts" }, - "seq": 16, + "seq": 17, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/indirect3/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/indirect3/tsconfig.json @@ -3387,7 +3409,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 16, + "request_seq": 17, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3528,7 +3550,7 @@ Info seq [hh:mm:ss:mss] request: "line": 1, "offset": 10 }, - "seq": 17, + "seq": 18, "type": "request" } Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/indirect3/main.ts position 9 in project /user/username/projects/myproject/indirect3/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 bb2d6fa929153..75d7130237201 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 @@ -533,6 +533,28 @@ Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/user/username/projects/myproject/src/main.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/user/username/projects/myproject/tsconfig-src.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "geterr", @@ -542,7 +564,7 @@ Info seq [hh:mm:ss:mss] request: "/user/username/projects/myproject/src/main.ts" ] }, - "seq": 2, + "seq": 3, "type": "request" } After request @@ -605,7 +627,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "requestCompleted", "body": { - "request_seq": 2, + "request_seq": 3, "performanceData": { "diagnosticsDuration": [ { @@ -628,7 +650,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/workspaces/dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined @@ -675,7 +697,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 3, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -771,7 +793,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -795,7 +817,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -893,7 +915,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 5, + "seq": 6, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -917,7 +939,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 5, + "request_seq": 6, "success": true } After request @@ -1021,7 +1043,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 6, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -1100,7 +1122,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 7, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1211,7 +1233,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 7, + "seq": 8, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json @@ -1423,7 +1445,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 7, + "request_seq": 8, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1518,7 +1540,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 8, + "seq": 9, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1544,7 +1566,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 8, + "request_seq": 9, "success": true } After request @@ -1643,7 +1665,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 9, + "seq": 10, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -1675,7 +1697,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 9, + "request_seq": 10, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1777,7 +1799,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 10, + "seq": 11, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1803,7 +1825,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 10, + "request_seq": 11, "success": true } After request @@ -2443,7 +2465,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 11, + "seq": 12, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/dummy.ts 500 undefined WatchType: Closed Script info @@ -2486,7 +2508,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 11, + "request_seq": 12, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -2752,7 +2774,7 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "reloadProjects", - "seq": 12, + "seq": 13, "type": "request" } Info seq [hh:mm:ss:mss] reload projects. @@ -3033,7 +3055,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "reloadProjects", - "request_seq": 12, + "request_seq": 13, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -3106,7 +3128,7 @@ Info seq [hh:mm:ss:mss] request: "line": 2, "offset": 10 }, - "seq": 13, + "seq": 14, "type": "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 @@ -3616,7 +3638,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/src/main.ts" }, - "seq": 14, + "seq": 15, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -3648,7 +3670,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 14, + "request_seq": 15, "success": true } After request @@ -3792,7 +3814,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/workspaces/dummy/dummy.ts" }, - "seq": 15, + "seq": 16, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -3824,7 +3846,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 15, + "request_seq": 16, "success": true } After request @@ -3974,7 +3996,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/user/username/projects/myproject/indirect3/main.ts" }, - "seq": 16, + "seq": 17, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/indirect3/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/indirect3/tsconfig.json @@ -4226,7 +4248,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 16, + "request_seq": 17, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -4410,7 +4432,7 @@ Info seq [hh:mm:ss:mss] request: "line": 1, "offset": 10 }, - "seq": 17, + "seq": 18, "type": "request" } Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/indirect3/main.ts position 9 in project /user/username/projects/myproject/indirect3/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js index 5afcc77540a6f..290b7cf2b00c2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js @@ -764,13 +764,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json @@ -901,7 +923,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1000,7 +1022,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -1028,7 +1050,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -1125,6 +1147,28 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: /home/src/projects/project/demos/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json @@ -1326,4 +1370,25 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts getDefaultProjectForFile: /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js index ce8da2fcb0b78..fc35094204bb0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js @@ -762,6 +762,28 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: /home/src/projects/project/demos/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json @@ -948,13 +970,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 2, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json @@ -1085,7 +1129,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1184,7 +1228,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 3, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -1212,7 +1256,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 5, "success": true } After request @@ -1308,4 +1352,25 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts getDefaultProjectForFile: /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js index 8bcbb50558ad8..1c83cb122b697 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js @@ -712,13 +712,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json @@ -849,7 +871,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -948,7 +970,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -976,7 +998,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -1073,6 +1095,28 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/tsconfig.json findDefaultConfiguredProject: /home/src/projects/project/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json @@ -1363,4 +1407,25 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts getDefaultProjectForFile: /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js index 026c0897cc0d8..d9abf940c0dfe 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js @@ -710,6 +710,28 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/tsconfig.json findDefaultConfiguredProject: /home/src/projects/project/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json @@ -972,13 +994,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 2, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json @@ -1109,7 +1153,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1205,7 +1249,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 3, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -1233,7 +1277,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 5, "success": true } After request @@ -1326,4 +1370,25 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts getDefaultProjectForFile: /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js index 75e00089ef1df..79f4e735621e1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js @@ -552,13 +552,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json @@ -689,7 +711,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 3, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -786,7 +808,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 4, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -814,7 +836,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 4, + "request_seq": 5, "success": true } After request @@ -911,13 +933,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "close", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts" }, - "seq": 5, + "seq": 7, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component-demos.ts 500 undefined WatchType: Closed Script info @@ -943,7 +987,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 5, + "request_seq": 7, "success": true } After request @@ -1045,13 +1089,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts undefined Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 8, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 6, + "seq": 9, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -1134,7 +1200,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 6, + "request_seq": 9, "success": true } After request @@ -1246,7 +1312,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 7, + "seq": 10, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -1260,7 +1326,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 7, + "request_seq": 10, "success": true } After request diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js index f8d406a5f3a13..16794a6a4e099 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js @@ -542,13 +542,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts undefined Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json @@ -679,7 +701,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -777,7 +799,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -805,7 +827,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -901,6 +923,28 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: undefined +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json @@ -1089,4 +1133,25 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts getDefaultProjectForFile: /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js index 128883f274394..6404e59fcccaf 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js @@ -540,6 +540,28 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: undefined +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json @@ -713,13 +735,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 2, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json @@ -850,7 +894,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -946,7 +990,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 3, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -974,7 +1018,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 5, "success": true } After request @@ -1067,4 +1111,25 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts getDefaultProjectForFile: /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js index 7fbd4b58312e1..77dcda9ec13da 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js @@ -666,13 +666,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 2, + "seq": 3, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json @@ -827,7 +849,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 3, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -935,7 +957,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 3, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -959,7 +981,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 4, "success": true } After request @@ -1044,6 +1066,28 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/tsconfig.json findDefaultConfiguredProject: /home/src/projects/project/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json @@ -1380,4 +1424,25 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts getDefaultProjectForFile: /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js index 7d683a246d553..346ab82676556 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js @@ -664,6 +664,28 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/tsconfig.json findDefaultConfiguredProject: /home/src/projects/project/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json @@ -883,13 +905,35 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/demos/tsconfig.json Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "open", "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 2, + "seq": 4, "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json @@ -1020,7 +1064,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "open", - "request_seq": 2, + "request_seq": 4, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -1116,7 +1160,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/projects/random/random.ts" }, - "seq": 3, + "seq": 5, "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info @@ -1144,7 +1188,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "close", - "request_seq": 3, + "request_seq": 5, "success": true } After request @@ -1237,4 +1281,25 @@ Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts getDefaultProjectForFile: /home/src/projects/project/demos/tsconfig.json findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + /home/src/projects/project/demos/tsconfig.json +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "projectInfo", + "arguments": { + "file": "/home/src/projects/project/app/Component-demos.ts", + "needFileNameList": false + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "configFileName": "/home/src/projects/project/demos/tsconfig.json", + "languageServiceDisabled": false + }, + "responseRequired": true + } +After request From d18d9bc49a5cee06c03d9b4861964e9e6c3085c3 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 6 Sep 2024 13:22:06 -0700 Subject: [PATCH 07/10] Add needDefaultProjectInfo to get details about the default project for file This adds createReplay which behaves like create but (does not create project and does not short circuit if we find project early) --- src/server/editorServices.ts | 72 ++++++++++++++++--- src/server/protocol.ts | 20 ++++++ src/server/session.ts | 65 ++++++++++++++--- src/testRunner/unittests/helpers/tsserver.ts | 1 + .../unittests/tsserver/projectReferences.ts | 5 +- tests/baselines/reference/api/typescript.d.ts | 20 ++++++ .../cancellationT/Geterr-is-cancellable.js | 8 ++- ...-and-file-from-first-config-is-not-open.js | 27 +++++-- ...file-when-parent-folder-has-config-file.js | 44 +++++++++--- ...-and-file-from-first-config-is-not-open.js | 27 +++++-- ...-config-file-with-sibling-jsconfig-file.js | 44 +++++++++--- ...gured-project-does-not-contain-the-file.js | 10 ++- ...indirect-project-but-not-in-another-one.js | 42 ++++++----- ...dProjectLoad-is-set-in-indirect-project.js | 16 +++-- ...-if-disableReferencedProjectLoad-is-set.js | 15 ++-- ...ject-is-directly-referenced-by-solution.js | 16 +++-- ...ct-is-indirectly-referenced-by-solution.js | 18 +++-- ...indirect-project-but-not-in-another-one.js | 20 ++++-- ...dProjectLoad-is-set-in-indirect-project.js | 16 +++-- ...-if-disableReferencedProjectLoad-is-set.js | 13 ++-- ...ces-open-file-through-project-reference.js | 16 +++-- ...ct-is-indirectly-referenced-by-solution.js | 20 ++++-- ...-composite-with-file-open-before-revert.js | 53 ++++++++------ ...nfig-tree-found-appConfig-not-composite.js | 55 ++++++++------ ...fig-change-with-file-open-before-revert.js | 51 +++++++------ ...rst-config-tree-found-demoConfig-change.js | 54 ++++++++------ ...config-tree-found-finds-default-project.js | 52 +++++++------- ...fig-delete-with-file-open-before-revert.js | 49 +++++++------ ...config-tree-found-solutionConfig-delete.js | 53 ++++++++------ ...ce-to-demo-with-file-open-before-revert.js | 51 +++++++------ ...olutionConfig-without-reference-to-demo.js | 54 ++++++++------ 31 files changed, 671 insertions(+), 336 deletions(-) diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index 519cc911b2959..a85239515b5d4 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -713,6 +713,8 @@ function isAncestorConfigFileInfo(infoOrFileNameOrConfig: OpenScriptInfoOrClosed export enum ConfiguredProjectLoadKind { FindOptimized, Find, + CreateReplayOptimized, + CreateReplay, CreateOptimized, Create, ReloadOptimized, @@ -721,11 +723,13 @@ export enum ConfiguredProjectLoadKind { type ConguredProjectLoadFindCreateOrReload = | ConfiguredProjectLoadKind.Find + | ConfiguredProjectLoadKind.CreateReplay | ConfiguredProjectLoadKind.Create | ConfiguredProjectLoadKind.Reload; type ConguredProjectLoadFindCreateOrReloadOptimized = | ConfiguredProjectLoadKind.FindOptimized + | ConfiguredProjectLoadKind.CreateReplayOptimized | ConfiguredProjectLoadKind.CreateOptimized | ConfiguredProjectLoadKind.ReloadOptimized; @@ -794,8 +798,7 @@ function forEachAncestorProjectLoad( configFileInfo: true, isForDefaultProject: !searchOnlyPotentialSolution, }, - kind === ConfiguredProjectLoadKind.Find || - kind === ConfiguredProjectLoadKind.FindOptimized, + kind <= ConfiguredProjectLoadKind.CreateReplay, ); if (!configFileName) return; @@ -865,7 +868,7 @@ function forEachResolvedProjectReferenceProjectLoad( configFileExistenceInfo?.exists || project.resolvedChildConfigs?.has(childCanonicalConfigPath) ? configFileExistenceInfo!.config!.parsedCommandLine : undefined : project.getParsedCommandLine(childConfigName); - if (childConfig && loadKind !== kind) { + if (childConfig && loadKind !== kind && loadKind > ConfiguredProjectLoadKind.CreateReplayOptimized) { // If this was found using find: ensure this is uptodate if looking for creating or reloading childConfig = project.getParsedCommandLine(childConfigName); } @@ -873,13 +876,20 @@ function forEachResolvedProjectReferenceProjectLoad( // Find the project const childProject = project.projectService.findConfiguredProjectByProjectName(childConfigName, allowDeferredClosed); + // Ignore if we couldnt find child project or config file existence info + if ( + loadKind === ConfiguredProjectLoadKind.CreateReplayOptimized && + !configFileExistenceInfo && + !childProject + ) return undefined; switch (loadKind) { case ConfiguredProjectLoadKind.ReloadOptimized: if (childProject) childProject.projectService.reloadConfiguredProjectOptimized(childProject, reason, reloadedProjects!); // falls through case ConfiguredProjectLoadKind.CreateOptimized: (project.resolvedChildConfigs ??= new Set()).add(childCanonicalConfigPath); - // falls through + // falls through + case ConfiguredProjectLoadKind.CreateReplayOptimized: case ConfiguredProjectLoadKind.FindOptimized: if (childProject || loadKind !== ConfiguredProjectLoadKind.FindOptimized) { const result = cb( @@ -930,6 +940,12 @@ function updateProjectFoundUsingFind( // This project was found using "Find" instead of the actually specified kind of "Create" or "Reload", // We need to update or reload this existing project before calling callback switch (kind) { + case ConfiguredProjectLoadKind.CreateReplayOptimized: + case ConfiguredProjectLoadKind.CreateReplay: + if (useConfigFileExistenceInfoForOptimizedLoading(project)) { + configFileExistenceInfo = project.projectService.configFileExistenceInfoCache.get(project.canonicalConfigFilePath)!; + } + break; case ConfiguredProjectLoadKind.CreateOptimized: configFileExistenceInfo = configFileExistenceInfoForOptimizedLoading(project); if (configFileExistenceInfo) break; @@ -1077,9 +1093,21 @@ function configFileExistenceInfoForOptimizedLoading(project: ConfiguredProject) project.resolvedChildConfigs = undefined; project.updateReferences(parsedCommandLine.projectReferences); // Composite can determine based on files themselves, no need to load project - if (parsedCommandLine.options.composite) return configFileExistenceInfo; // If solution, no need to load it to determine if file belongs to it - if (isSolutionConfig(parsedCommandLine)) return configFileExistenceInfo; + if (useConfigFileExistenceInfoForOptimizedLoading(project)) return configFileExistenceInfo; +} + +function useConfigFileExistenceInfoForOptimizedLoading(project: ConfiguredProject) { + return !!project.parsedCommandLine && + (!!project.parsedCommandLine.options.composite || + // If solution, no need to load it to determine if file belongs to it + !!isSolutionConfig(project.parsedCommandLine)); +} + +function configFileExistenceInfoForOptimizedReplay(project: ConfiguredProject) { + return useConfigFileExistenceInfoForOptimizedLoading(project) ? + project.projectService.configFileExistenceInfoCache.get(project.canonicalConfigFilePath)! : + undefined; } function fileOpenReason(info: ScriptInfo) { @@ -2603,11 +2631,22 @@ export class ProjectService { /** @internal */ findDefaultConfiguredProject(info: ScriptInfo) { + return this.findDefaultConfiguredProjectWorker( + info, + ConfiguredProjectLoadKind.Find, + )?.defaultProject; + } + + /** @internal */ + findDefaultConfiguredProjectWorker( + info: ScriptInfo, + kind: ConfiguredProjectLoadKind.Find | ConfiguredProjectLoadKind.CreateReplay, + ) { return info.isScriptOpen() ? this.tryFindDefaultConfiguredProjectForOpenScriptInfo( info, - ConfiguredProjectLoadKind.Find, - )?.defaultProject : + kind, + ) : undefined; } @@ -4360,8 +4399,13 @@ export class ProjectService { switch (kind) { case ConfiguredProjectLoadKind.FindOptimized: case ConfiguredProjectLoadKind.Find: + case ConfiguredProjectLoadKind.CreateReplay: if (!project) return; break; + case ConfiguredProjectLoadKind.CreateReplayOptimized: + if (!project) return; + configFileExistenceInfo = configFileExistenceInfoForOptimizedReplay(project); + break; case ConfiguredProjectLoadKind.CreateOptimized: case ConfiguredProjectLoadKind.Create: project ??= this.createConfiguredProject(configFileName, reason!); @@ -4414,7 +4458,7 @@ export class ProjectService { /** Used with ConfiguredProjectLoadKind.Reload to check if this project was already reloaded */ reloadedProjects?: ConfiguredProjectToAnyReloadKind, ): DefaultConfiguredProjectResult | undefined { - const configFileName = this.getConfigFileNameForFile(info, kind === ConfiguredProjectLoadKind.Find); + const configFileName = this.getConfigFileNameForFile(info, kind <= ConfiguredProjectLoadKind.CreateReplay); // If no config file name, no result if (!configFileName) return; @@ -4508,6 +4552,7 @@ export class ProjectService { tsconfigProject: tsconfigOfDefault ?? tsconfigOfPossiblyDefault, sentConfigDiag, seenProjects, + seenConfigs, }; function tryFindDefaultConfiguredProject(result: FindCreateOrLoadConfiguredProjectResult): ConfiguredProject | undefined { @@ -4569,7 +4614,12 @@ export class ProjectService { allowDeferredClosed, info.fileName, reloadedProjects, - )!; + ); + if (!result) { + // Did no find existing project but thats ok, we will give information based on what we find + Debug.assert(kind === ConfiguredProjectLoadKind.CreateReplay); + return undefined; + } seenProjects.set(result.project, optimizedKind); if (result.sentConfigFileDiag) sentConfigDiag.add(result.project); return isDefaultProject(result.project, tsconfigProject); @@ -4658,7 +4708,7 @@ export class ProjectService { ): DefaultConfiguredProjectResult | undefined; private tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo( info: ScriptInfo, - kind: ConguredProjectLoadFindCreateOrReload, + kind: ConfiguredProjectLoadKind.Find | ConfiguredProjectLoadKind.Create | ConfiguredProjectLoadKind.Reload, reloadedProjects?: ConfiguredProjectToAnyReloadKind, delayReloadedConfiguredProjects?: Set, ): DefaultConfiguredProjectResult | undefined { diff --git a/src/server/protocol.ts b/src/server/protocol.ts index ff656f8b8c038..0f9233f772aa4 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -498,6 +498,10 @@ export interface ProjectInfoRequestArgs extends FileRequestArgs { * Indicate if the file name list of the project is needed */ needFileNameList: boolean; + /** + * if true returns details about default configured project calculation + */ + needDefaultConfiguredProjectInfo?: boolean; } /** @@ -525,6 +529,18 @@ export interface CompilerOptionsDiagnosticsRequestArgs { projectFileName: string; } +/** + * Details about the default project for the file if tsconfig file is found + */ +export interface DefaultConfiguredProjectInfo { + /** List of config files looked and did not match because file was not part of root file names */ + notMatchedByConfig?: readonly string[]; + /** List of projects which were loaded but file was not part of the project or is file from referenced project */ + notInProject?: readonly string[]; + /** Configured project used as default */ + defaultProject?: string; +} + /** * Response message body for "projectInfo" request */ @@ -542,6 +558,10 @@ export interface ProjectInfo { * Indicates if the project has a active language service instance */ languageServiceDisabled?: boolean; + /** + * Information about default project + */ + configuredProjectInfo?: DefaultConfiguredProjectInfo; } /** diff --git a/src/server/session.ts b/src/server/session.ts index 785561fd9909a..9794a76e05fb4 100644 --- a/src/server/session.ts +++ b/src/server/session.ts @@ -143,6 +143,7 @@ import { CloseFileWatcherEvent, ConfigFileDiagEvent, ConfiguredProject, + ConfiguredProjectLoadKind, convertFormatOptions, convertScriptKindName, convertUserPreferences, @@ -2039,20 +2040,63 @@ export class Session implements EventSender { } private getProjectInfo(args: protocol.ProjectInfoRequestArgs): protocol.ProjectInfo { - return this.getProjectInfoWorker(args.file, args.projectFileName, args.needFileNameList, /*excludeConfigFiles*/ false); + return this.getProjectInfoWorker( + args.file, + args.projectFileName, + args.needFileNameList, + args.needDefaultConfiguredProjectInfo, + /*excludeConfigFiles*/ false, + ); } - private getProjectInfoWorker(uncheckedFileName: string, projectFileName: string | undefined, needFileNameList: boolean, excludeConfigFiles: boolean) { + private getProjectInfoWorker( + uncheckedFileName: string, + projectFileName: string | undefined, + needFileNameList: boolean, + needDefaultConfiguredProjectInfo: boolean | undefined, + excludeConfigFiles: boolean, + ): Omit & { fileNames?: NormalizedPath[]; } { const { project } = this.getFileAndProjectWorker(uncheckedFileName, projectFileName); updateProjectIfDirty(project); const projectInfo = { configFileName: project.getProjectName(), languageServiceDisabled: !project.languageServiceEnabled, fileNames: needFileNameList ? project.getFileNames(/*excludeFilesFromExternalLibraries*/ false, excludeConfigFiles) : undefined, + configuredProjectInfo: needDefaultConfiguredProjectInfo ? this.getDefaultConfiguredProjectInfo(uncheckedFileName) : undefined, }; return projectInfo; } + private getDefaultConfiguredProjectInfo(uncheckedFileName: string): protocol.DefaultConfiguredProjectInfo | undefined { + const info = this.projectService.getScriptInfo(uncheckedFileName); + if (!info) return; + + // Find default project for the info + const result = this.projectService.findDefaultConfiguredProjectWorker( + info, + ConfiguredProjectLoadKind.CreateReplay, + ); + if (!result) return undefined; + let notMatchedByConfig: NormalizedPath[] | undefined; + let notInProject: NormalizedPath[] | undefined; + result.seenProjects.forEach((kind, project) => { + if (project !== result.defaultProject) { + if (kind !== ConfiguredProjectLoadKind.CreateReplay) { + (notMatchedByConfig ??= []).push(toNormalizedPath(project.getConfigFilePath())); + } + else { + (notInProject ??= []).push(toNormalizedPath(project.getConfigFilePath())); + } + } + }); + result.seenConfigs?.forEach(config => (notMatchedByConfig ??= []).push(config)); + return { + notMatchedByConfig, + notInProject, + defaultProject: result.defaultProject && toNormalizedPath(result.defaultProject.getConfigFilePath()), + }; + } + private getRenameInfo(args: protocol.FileLocationRequestArgs): RenameInfo { const { file, project } = this.getFileAndProject(args); const position = this.getPositionInFile(args, file); @@ -3094,16 +3138,19 @@ export class Session implements EventSender { return; } - const { fileNames, languageServiceDisabled } = this.getProjectInfoWorker(fileName, /*projectFileName*/ undefined, /*needFileNameList*/ true, /*excludeConfigFiles*/ true); - if (languageServiceDisabled) { - return; - } + const { fileNames, languageServiceDisabled } = this.getProjectInfoWorker( + fileName, + /*projectFileName*/ undefined, + /*needFileNameList*/ true, + /*needDefaultConfiguredProjectInfo*/ undefined, + /*excludeConfigFiles*/ true, + ); + + if (languageServiceDisabled) return; // No need to analyze lib.d.ts const fileNamesInProject = fileNames!.filter(value => !value.includes("lib.d.ts")); // TODO: GH#18217 - if (fileNamesInProject.length === 0) { - return; - } + if (fileNamesInProject.length === 0) return; // Sort the file name list to make the recently touched files come first const highPriorityFiles: NormalizedPath[] = []; diff --git a/src/testRunner/unittests/helpers/tsserver.ts b/src/testRunner/unittests/helpers/tsserver.ts index 59628cfd50a91..cd951047421ec 100644 --- a/src/testRunner/unittests/helpers/tsserver.ts +++ b/src/testRunner/unittests/helpers/tsserver.ts @@ -471,6 +471,7 @@ export function projectInfoForSession( arguments: { file: ts.isString(file) ? file : file.path, needFileNameList: false, + needDefaultConfiguredProjectInfo: true, }, }).response as ts.server.protocol.ProjectInfo; } diff --git a/src/testRunner/unittests/tsserver/projectReferences.ts b/src/testRunner/unittests/tsserver/projectReferences.ts index e6d333c5c6dda..957e11171dc7c 100644 --- a/src/testRunner/unittests/tsserver/projectReferences.ts +++ b/src/testRunner/unittests/tsserver/projectReferences.ts @@ -21,9 +21,6 @@ import { function logDefaultProjectAndDefaultConfiguredProject(session: TestSession, file: File) { const info = session.getProjectService().getScriptInfo(file.path); - const defaultProject = session.getProjectService().tryGetDefaultProjectForFile(file.path as ts.server.NormalizedPath); - const defaultConfiguredProject = info && session.getProjectService().findDefaultConfiguredProject(info); - session.logger.info(`File: ${file.path}:\n\tgetDefaultProjectForFile:\n\t\t${defaultProject?.projectName}\n\tfindDefaultConfiguredProject:\n\t\t${defaultConfiguredProject?.projectName}`); if (info) { const projectInfo = projectInfoForSession(session, file); return session.getProjectService().findProject(projectInfo.configFileName); @@ -1728,7 +1725,7 @@ const b: B = new B();`, /* eslint-enable local/argument-trivia */ }); - describe("when file is not part of first config tree found", () => { + describe("when file is not part of first config tree found sheetal", () => { it("finds default project", () => { const { session, appDemo, baseline, verifyProjectManagement } = setup(); verifyGetErrRequest({ diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 744449e46e596..f14ba0ef455b8 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -363,6 +363,10 @@ declare namespace ts { * Indicate if the file name list of the project is needed */ needFileNameList: boolean; + /** + * if true returns details about default configured project calculation + */ + needDefaultConfiguredProjectInfo?: boolean; } /** * A request to get the project information of the current file. @@ -386,6 +390,17 @@ declare namespace ts { */ projectFileName: string; } + /** + * Details about the default project for the file if tsconfig file is found + */ + export interface DefaultConfiguredProjectInfo { + /** List of config files looked and did not match because file was not part of root file names */ + notMatchedByConfig?: readonly string[]; + /** List of projects which were loaded but file was not part of the project or is file from referenced project */ + notInProject?: readonly string[]; + /** Configured project used as default */ + defaultProject?: string; + } /** * Response message body for "projectInfo" request */ @@ -403,6 +418,10 @@ declare namespace ts { * Indicates if the project has a active language service instance */ languageServiceDisabled?: boolean; + /** + * Information about default project + */ + configuredProjectInfo?: DefaultConfiguredProjectInfo; } /** * Represents diagnostic info that includes location of diagnostic in two forms @@ -3484,6 +3503,7 @@ declare namespace ts { private setCompilerOptionsForInferredProjects; private getProjectInfo; private getProjectInfoWorker; + private getDefaultConfiguredProjectInfo; private getRenameInfo; private getProjects; private getDefaultProject; diff --git a/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js b/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js index a3f971b4185c3..a92a183866145 100644 --- a/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js +++ b/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js @@ -258,7 +258,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/myproject/app.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 4, "type": "request" @@ -269,7 +270,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/myproject/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/home/src/projects/myproject/tsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js index 1144c25eb8584..4fc0a4243ef7f 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js @@ -325,7 +325,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -334,7 +335,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/user/username/projects/myproject/folder/tsconfig.json" + ], + "defaultProject": "/user/username/projects/myproject/tsconfig.json" + } }, "responseRequired": true } @@ -1959,7 +1966,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 13, "type": "request" @@ -1968,7 +1976,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/tsconfig.json" + } }, "responseRequired": true } @@ -2125,7 +2136,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 14, "type": "request" @@ -2134,7 +2146,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/tsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js index 251c32d9274df..8d4ac6e4d5da4 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js @@ -208,7 +208,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -217,7 +218,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/folder/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/folder/tsconfig.json" + } }, "responseRequired": true } @@ -5751,7 +5755,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 46, "type": "request" @@ -5784,7 +5789,12 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/dev/null/inferredProject8*", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/user/username/projects/myproject/tsconfig.json" + ] + } }, "responseRequired": true, "performanceData": { @@ -5852,7 +5862,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 47, "type": "request" @@ -5861,7 +5872,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/tsconfig.json" + } }, "responseRequired": true } @@ -6221,7 +6235,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 48, "type": "request" @@ -6230,7 +6245,12 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/dev/null/inferredProject8*", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/user/username/projects/myproject/tsconfig.json" + ] + } }, "responseRequired": true } @@ -6243,7 +6263,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 49, "type": "request" @@ -6252,7 +6273,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/tsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js index 5ecc90a013112..7d134aa6a2297 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js @@ -341,7 +341,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -350,7 +351,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/folder/jsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/user/username/projects/myproject/folder/tsconfig.json" + ], + "defaultProject": "/user/username/projects/myproject/folder/jsconfig.json" + } }, "responseRequired": true } @@ -1993,7 +2000,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 13, "type": "request" @@ -2002,7 +2010,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/folder/jsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/folder/jsconfig.json" + } }, "responseRequired": true } @@ -2159,7 +2170,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 14, "type": "request" @@ -2168,7 +2180,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/folder/jsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/folder/jsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js index e4ad70350341d..d47755a7b4180 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js @@ -211,7 +211,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -220,7 +221,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/folder/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/folder/tsconfig.json" + } }, "responseRequired": true } @@ -5821,7 +5825,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 46, "type": "request" @@ -5854,7 +5859,12 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/dev/null/inferredProject8*", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/user/username/projects/myproject/folder/jsconfig.json" + ] + } }, "responseRequired": true, "performanceData": { @@ -5922,7 +5932,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 47, "type": "request" @@ -5931,7 +5942,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/folder/jsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/folder/jsconfig.json" + } }, "responseRequired": true } @@ -6291,7 +6305,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile1.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 48, "type": "request" @@ -6300,7 +6315,12 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/dev/null/inferredProject8*", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/user/username/projects/myproject/folder/jsconfig.json" + ] + } }, "responseRequired": true } @@ -6313,7 +6333,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/folder/commonFile2.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 49, "type": "request" @@ -6322,7 +6343,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/folder/jsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/folder/jsconfig.json" + } }, "responseRequired": true } 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 3b75af4de56ab..17e25da6162ff 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 @@ -1036,7 +1036,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/foo/lib/index.d.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 6, "type": "request" @@ -1045,7 +1046,12 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/bar/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/user/username/projects/myproject/foo/tsconfig.json" + ] + } }, "responseRequired": true } 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 a2d150de8391a..e1c7b123c0b46 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 @@ -397,11 +397,6 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json *default* -Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: - getDefaultProjectForFile: - /user/username/projects/myproject/tsconfig-src.json - findDefaultConfiguredProject: - /user/username/projects/myproject/tsconfig-src.json Before request Info seq [hh:mm:ss:mss] request: @@ -409,7 +404,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/src/main.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -418,7 +414,15 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig-src.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/user/username/projects/myproject/tsconfig.json", + "/user/username/projects/myproject/tsconfig-indirect1.json", + "/user/username/projects/myproject/tsconfig-indirect2.json" + ], + "defaultProject": "/user/username/projects/myproject/tsconfig-src.json" + } }, "responseRequired": true } @@ -1226,18 +1230,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi } ] } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { - "rootNames": [ - "/user/username/projects/myproject/src/main.ts", - "/user/username/projects/myproject/src/helpers/functions.ts" - ], - "options": { - "composite": true, - "outDir": "/user/username/projects/myproject/target", - "baseUrl": "/user/username/projects/myproject/src", - "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" - } -} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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] Elapsed:: *ms DirectoryWatcher:: Close:: 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:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1252,6 +1244,18 @@ Info seq [hh:mm:ss:mss] event: "reason": "User requested reload projects: Creating project referenced in solution /user/username/projects/myproject/tsconfig.json to find possible configured project for /user/username/projects/myproject/src/main.ts to open" } } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src.json : { + "rootNames": [ + "/user/username/projects/myproject/src/main.ts", + "/user/username/projects/myproject/src/helpers/functions.ts" + ], + "options": { + "composite": true, + "outDir": "/user/username/projects/myproject/target", + "baseUrl": "/user/username/projects/myproject/src", + "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" + } +} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] 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] 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 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 ab56ac2cea3f6..1201af2f8b210 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 @@ -268,11 +268,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* -Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: - getDefaultProjectForFile: - /dev/null/inferredProject1* - findDefaultConfiguredProject: - undefined Before request Info seq [hh:mm:ss:mss] request: @@ -280,7 +275,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/src/main.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -289,7 +285,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/dev/null/inferredProject1*", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/user/username/projects/myproject/tsconfig.json", + "/user/username/projects/myproject/tsconfig-indirect1.json" + ] + } }, "responseRequired": true } 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 c5a34b8dcbbe7..6474e38fc59fe 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 @@ -228,11 +228,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* -Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: - getDefaultProjectForFile: - /dev/null/inferredProject1* - findDefaultConfiguredProject: - undefined Before request Info seq [hh:mm:ss:mss] request: @@ -240,7 +235,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/src/main.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -249,7 +245,12 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/dev/null/inferredProject1*", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/user/username/projects/myproject/tsconfig.json" + ] + } }, "responseRequired": true } 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 f4fd3669d2010..3948c889de088 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 @@ -304,11 +304,6 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json *default* -Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: - getDefaultProjectForFile: - /user/username/projects/myproject/tsconfig-src.json - findDefaultConfiguredProject: - /user/username/projects/myproject/tsconfig-src.json Before request Info seq [hh:mm:ss:mss] request: @@ -316,7 +311,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/src/main.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -325,7 +321,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig-src.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/user/username/projects/myproject/tsconfig.json" + ], + "defaultProject": "/user/username/projects/myproject/tsconfig-src.json" + } }, "responseRequired": true } 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 3e7d1d2be292a..e37b3ca584a69 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 @@ -395,11 +395,6 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json *default* -Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: - getDefaultProjectForFile: - /user/username/projects/myproject/tsconfig-src.json - findDefaultConfiguredProject: - /user/username/projects/myproject/tsconfig-src.json Before request Info seq [hh:mm:ss:mss] request: @@ -407,7 +402,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/src/main.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -416,7 +412,15 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig-src.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/user/username/projects/myproject/tsconfig.json", + "/user/username/projects/myproject/tsconfig-indirect1.json", + "/user/username/projects/myproject/tsconfig-indirect2.json" + ], + "defaultProject": "/user/username/projects/myproject/tsconfig-src.json" + } }, "responseRequired": true } 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 3b72416f6784e..f2412f04852b4 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 @@ -528,11 +528,6 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json /user/username/projects/myproject/tsconfig-src.json *default* -Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: - getDefaultProjectForFile: - /user/username/projects/myproject/tsconfig-src.json - findDefaultConfiguredProject: - /user/username/projects/myproject/tsconfig-src.json Before request Info seq [hh:mm:ss:mss] request: @@ -540,7 +535,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/src/main.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -549,7 +545,17 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig-src.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/user/username/projects/myproject/tsconfig-indirect1.json", + "/user/username/projects/myproject/tsconfig-indirect2.json" + ], + "notInProject": [ + "/user/username/projects/myproject/tsconfig.json" + ], + "defaultProject": "/user/username/projects/myproject/tsconfig-src.json" + } }, "responseRequired": true } 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 1346b268892b0..1e88910430066 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 @@ -371,11 +371,6 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig.json *default* -Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: - getDefaultProjectForFile: - /user/username/projects/myproject/tsconfig.json - findDefaultConfiguredProject: - /user/username/projects/myproject/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -383,7 +378,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/src/main.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -392,7 +388,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/user/username/projects/myproject/tsconfig-indirect1.json" + ], + "defaultProject": "/user/username/projects/myproject/tsconfig.json" + } }, "responseRequired": true } 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 93586bcb16c18..d3dbabf2286dc 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 @@ -321,11 +321,6 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig.json *default* -Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: - getDefaultProjectForFile: - /user/username/projects/myproject/tsconfig.json - findDefaultConfiguredProject: - /user/username/projects/myproject/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -333,7 +328,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/src/main.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -342,7 +338,10 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "defaultProject": "/user/username/projects/myproject/tsconfig.json" + } }, "responseRequired": true } 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 96fc3ae440ca5..4b57bc630c469 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 @@ -426,11 +426,6 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json /user/username/projects/myproject/tsconfig-src.json *default* -Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: - getDefaultProjectForFile: - /user/username/projects/myproject/tsconfig-src.json - findDefaultConfiguredProject: - /user/username/projects/myproject/tsconfig-src.json Before request Info seq [hh:mm:ss:mss] request: @@ -438,7 +433,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/src/main.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -447,7 +443,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig-src.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/user/username/projects/myproject/tsconfig.json" + ], + "defaultProject": "/user/username/projects/myproject/tsconfig-src.json" + } }, "responseRequired": true } 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 75d7130237201..72debef5de164 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 @@ -526,11 +526,6 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json /user/username/projects/myproject/tsconfig-src.json *default* -Info seq [hh:mm:ss:mss] File: /user/username/projects/myproject/src/main.ts: - getDefaultProjectForFile: - /user/username/projects/myproject/tsconfig-src.json - findDefaultConfiguredProject: - /user/username/projects/myproject/tsconfig-src.json Before request Info seq [hh:mm:ss:mss] request: @@ -538,7 +533,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/user/username/projects/myproject/src/main.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -547,7 +543,17 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/user/username/projects/myproject/tsconfig-src.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/user/username/projects/myproject/tsconfig-indirect1.json", + "/user/username/projects/myproject/tsconfig-indirect2.json" + ], + "notInProject": [ + "/user/username/projects/myproject/tsconfig.json" + ], + "defaultProject": "/user/username/projects/myproject/tsconfig-src.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js index 290b7cf2b00c2..d793be74f063d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js @@ -757,11 +757,6 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/project/app/tsconfig.json *new* -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -769,7 +764,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -778,7 +774,14 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/home/src/projects/project/app/tsconfig.json", + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } @@ -1142,11 +1145,6 @@ ScriptInfos:: /home/src/projects/project/app/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1154,7 +1152,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 5, "type": "request" @@ -1163,7 +1162,14 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/home/src/projects/project/app/tsconfig.json", + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } @@ -1366,11 +1372,6 @@ Projects:: noOpenRef: true autoImportProviderHost: false -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1378,7 +1379,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 6, "type": "request" @@ -1387,7 +1389,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js index fc35094204bb0..3703221eae115 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js @@ -757,11 +757,6 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/project/app/tsconfig.json *new* -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -769,7 +764,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -778,7 +774,14 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notInProject": [ + "/home/src/projects/project/app/tsconfig.json", + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } @@ -963,11 +966,6 @@ Projects:: dirty: false *changed* autoImportProviderHost: false -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -975,7 +973,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 3, "type": "request" @@ -984,7 +983,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } @@ -1348,11 +1356,6 @@ ScriptInfos:: /home/src/projects/project/app/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1360,7 +1363,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 6, "type": "request" @@ -1369,7 +1373,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js index 1c83cb122b697..2c86c14856154 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js @@ -705,11 +705,6 @@ ScriptInfos:: /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -717,7 +712,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -726,7 +722,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/tsconfig.json" + } }, "responseRequired": true } @@ -1090,11 +1092,6 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1102,7 +1099,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 5, "type": "request" @@ -1111,7 +1109,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/tsconfig.json" + } }, "responseRequired": true } @@ -1403,11 +1407,6 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1415,7 +1414,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 6, "type": "request" @@ -1424,7 +1424,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js index d9abf940c0dfe..86e73227ad5b1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js @@ -705,11 +705,6 @@ ScriptInfos:: /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -717,7 +712,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -726,7 +722,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/tsconfig.json" + } }, "responseRequired": true } @@ -987,11 +989,6 @@ ScriptInfos:: /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -999,7 +996,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 3, "type": "request" @@ -1008,7 +1006,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } @@ -1366,11 +1373,6 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1378,7 +1380,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 6, "type": "request" @@ -1387,7 +1390,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js index 79f4e735621e1..e6b4a92fc80e4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js @@ -545,11 +545,6 @@ Info seq [hh:mm:ss:mss] event: } After running Immedidate callback:: count: 0 -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -557,7 +552,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 3, "type": "request" @@ -566,7 +562,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } @@ -926,11 +931,6 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -938,7 +938,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 6, "type": "request" @@ -947,7 +948,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } @@ -1082,11 +1092,6 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - undefined Before request Info seq [hh:mm:ss:mss] request: @@ -1094,7 +1099,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 8, "type": "request" @@ -1366,9 +1372,3 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/random/tsconfig.json - -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - undefined - findDefaultConfiguredProject: - undefined \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js index 16794a6a4e099..8a8e1f7b240a2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js @@ -535,11 +535,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - undefined Before request Info seq [hh:mm:ss:mss] request: @@ -547,7 +542,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -556,7 +552,12 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ] + } }, "responseRequired": true } @@ -918,11 +919,6 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - undefined Before request Info seq [hh:mm:ss:mss] request: @@ -930,7 +926,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 5, "type": "request" @@ -939,7 +936,12 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ] + } }, "responseRequired": true } @@ -1129,11 +1131,6 @@ Projects:: noOpenRef: true autoImportProviderHost: false -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1141,7 +1138,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 6, "type": "request" @@ -1150,7 +1148,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js index 6404e59fcccaf..87a79adb78744 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js @@ -535,11 +535,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - undefined Before request Info seq [hh:mm:ss:mss] request: @@ -547,7 +542,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -556,7 +552,12 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ] + } }, "responseRequired": true } @@ -728,11 +729,6 @@ Projects:: projectProgramVersion: 1 dirty: false *changed* -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -740,7 +736,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 3, "type": "request" @@ -749,7 +746,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } @@ -1107,11 +1113,6 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1119,7 +1120,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 6, "type": "request" @@ -1128,7 +1130,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js index 77dcda9ec13da..aeb6c26ac06b1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js @@ -659,11 +659,6 @@ Projects:: projectProgramVersion: 2 *changed* dirty: false *changed* -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -671,7 +666,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -680,7 +676,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/tsconfig.json" + } }, "responseRequired": true } @@ -1061,11 +1063,6 @@ ScriptInfos:: /home/src/projects/project/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1073,7 +1070,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 5, "type": "request" @@ -1082,7 +1080,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/tsconfig.json" + } }, "responseRequired": true } @@ -1420,11 +1424,6 @@ ScriptInfos:: /home/src/projects/random/tsconfig.json /home/src/projects/project/demos/tsconfig.json *new* -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1432,7 +1431,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 6, "type": "request" @@ -1441,7 +1441,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js index 346ab82676556..cdb851dc220fb 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js @@ -659,11 +659,6 @@ Projects:: projectProgramVersion: 2 *changed* dirty: false *changed* -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -671,7 +666,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 2, "type": "request" @@ -680,7 +676,13 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/tsconfig.json" + } }, "responseRequired": true } @@ -898,11 +900,6 @@ Projects:: projectProgramVersion: 3 *changed* dirty: false *changed* -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -910,7 +907,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 3, "type": "request" @@ -919,7 +917,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } @@ -1277,11 +1284,6 @@ ScriptInfos:: /home/src/projects/project/demos/tsconfig.json /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: - getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json - findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json Before request Info seq [hh:mm:ss:mss] request: @@ -1289,7 +1291,8 @@ Info seq [hh:mm:ss:mss] request: "command": "projectInfo", "arguments": { "file": "/home/src/projects/project/app/Component-demos.ts", - "needFileNameList": false + "needFileNameList": false, + "needDefaultConfiguredProjectInfo": true }, "seq": 6, "type": "request" @@ -1298,7 +1301,16 @@ Info seq [hh:mm:ss:mss] response: { "response": { "configFileName": "/home/src/projects/project/demos/tsconfig.json", - "languageServiceDisabled": false + "languageServiceDisabled": false, + "configuredProjectInfo": { + "notMatchedByConfig": [ + "/home/src/projects/project/app/tsconfig.json" + ], + "notInProject": [ + "/home/src/projects/project/tsconfig.json" + ], + "defaultProject": "/home/src/projects/project/demos/tsconfig.json" + } }, "responseRequired": true } From 4c7280ca80f123b3e5f8bb4509b5385c90111358 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 10 Sep 2024 15:48:20 -0700 Subject: [PATCH 08/10] Get file references always opens the file before running command --- src/harness/client.ts | 2 + .../getFileReferences_deduplicate.js | 125 ++++++++- .../getFileReferences_server1.js | 121 +++++++- .../getFileReferences_server2.js | 264 +++++++++++++++++- 4 files changed, 509 insertions(+), 3 deletions(-) diff --git a/src/harness/client.ts b/src/harness/client.ts index e1daecdc82dec..4e4875445c28a 100644 --- a/src/harness/client.ts +++ b/src/harness/client.ts @@ -81,6 +81,7 @@ import { protocol } from "./_namespaces/ts.server.js"; export interface SessionClientHost extends LanguageServiceHost { writeMessage(message: string): void; + openFile(fileName: string): void; } interface RenameEntry { @@ -479,6 +480,7 @@ export class SessionClient implements LanguageService { } getFileReferences(fileName: string): ReferenceEntry[] { + this.host.openFile(fileName); const request = this.processRequest(protocol.CommandTypes.FileReferences, { file: fileName }); const response = this.processResponse(request); diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js index 0fa2e6f0d37b1..b3ea014063cff 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js @@ -657,6 +657,129 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/workspaces/project/util.ts" }, + "command": "open" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/util.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/util.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/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] Project '/home/src/workspaces/project/tsconfig.build.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.test.json' (Configured) +Info seq [hh:mm:ss:mss] Files (6) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +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: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/index.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.build.json,/home/src/workspaces/project/tsconfig.test.json +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/test.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.test.json +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/util.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.build.json,/home/src/workspaces/project/tsconfig.test.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 3, + "success": true + } +After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.build.json: + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.test.json: + {"pollingInterval":2000} + +watchedFiles *deleted*:: +/home/src/workspaces/project/util.ts: + {"pollingInterval":500} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules: + {} + {} + {} +/home/src/workspaces/node_modules/@types: + {} + {} + {} +/home/src/workspaces/project/node_modules: + {} + {} + {} +/home/src/workspaces/project/node_modules/@types: + {} + {} + {} + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /home/src/workspaces/project/tsconfig.build.json + /home/src/workspaces/project/tsconfig.test.json +/home/src/tslibs/TS/Lib/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /home/src/workspaces/project/tsconfig.build.json + /home/src/workspaces/project/tsconfig.test.json +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /home/src/workspaces/project/tsconfig.build.json + /home/src/workspaces/project/tsconfig.test.json +/home/src/workspaces/project/index.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.build.json *default* + /home/src/workspaces/project/tsconfig.test.json +/home/src/workspaces/project/test.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.test.json *default* +/home/src/workspaces/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/workspaces/project/util.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.build.json *default* + /home/src/workspaces/project/tsconfig.test.json + +Info seq [hh:mm:ss:mss] request: + { + "seq": 4, + "type": "request", + "arguments": { + "file": "/home/src/workspaces/project/util.ts" + }, "command": "fileReferences" } Info seq [hh:mm:ss:mss] response: @@ -664,7 +787,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "fileReferences", - "request_seq": 3, + "request_seq": 4, "success": true, "body": { "refs": [ diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js index 39c017336d0dd..dcab9249743aa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js @@ -274,6 +274,125 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/workspaces/project/a.ts" }, + "command": "open" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/a.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/a.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (7) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +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: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/a.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true + } +After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/b.ts: + {"pollingInterval":500} +/home/src/workspaces/project/c.ts: + {"pollingInterval":500} +/home/src/workspaces/project/d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.json: + {"pollingInterval":2000} + +watchedFiles *deleted*:: +/home/src/workspaces/project/a.ts: + {"pollingInterval":500} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules: + {} + {} +/home/src/workspaces/node_modules/@types: + {} + {} +/home/src/workspaces/project: + {} +/home/src/workspaces/project/node_modules: + {} + {} +/home/src/workspaces/project/node_modules/@types: + {} + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/workspaces/project/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/b.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/c.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 2, + "type": "request", + "arguments": { + "file": "/home/src/workspaces/project/a.ts" + }, "command": "fileReferences" } Info seq [hh:mm:ss:mss] response: @@ -281,7 +400,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "fileReferences", - "request_seq": 1, + "request_seq": 2, "success": true, "body": { "refs": [ diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index 701068dadf6da..bc34e775e80df 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -712,6 +712,268 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "file": "/home/src/workspaces/project/packages/shared/src/referenced.ts" }, + "command": "open" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/packages/shared/src/referenced.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/shared/src/referenced.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/shared/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/shared/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/shared +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/shared/src/referenced.ts to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /home/src/workspaces/project/packages/shared/src/referenced.ts Text-1 "export {};" + + + ../../../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' + ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' + src/referenced.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/workspaces/project/packages/shared/src/referenced.ts", + "configFile": "/home/src/workspaces/project/packages/shared/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/shared/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/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] Project '/home/src/workspaces/project/packages/server/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (6) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/client/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/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 (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/server/index.js ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/server/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/client/index.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/client/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/shared/src/referenced.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/server/tsconfig.json,/home/src/workspaces/project/packages/client/tsconfig.json,/home/src/workspaces/project/packages/shared/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 3, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/packages/client/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/packages/server/router.js: + {"pollingInterval":500} +/home/src/workspaces/project/packages/server/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/packages/shared/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.json: + {"pollingInterval":2000} + +watchedFiles *deleted*:: +/home/src/workspaces/project/packages/shared/src/referenced.ts: + {"pollingInterval":500} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules: + {} + {} + {} + {} *new* +/home/src/workspaces/node_modules/@types: + {} + {} + {} + {} *new* +/home/src/workspaces/project/node_modules: + {} + {} + {} + {} *new* +/home/src/workspaces/project/node_modules/@types: + {} + {} + {} + {} *new* +/home/src/workspaces/project/packages/client: + {} +/home/src/workspaces/project/packages/client/node_modules: + {} +/home/src/workspaces/project/packages/client/node_modules/@types: + {} +/home/src/workspaces/project/packages/node_modules: + {} + {} + {} *new* +/home/src/workspaces/project/packages/node_modules/@types: + {} + {} + {} *new* +/home/src/workspaces/project/packages/server: + {} +/home/src/workspaces/project/packages/server/node_modules: + {} +/home/src/workspaces/project/packages/server/node_modules/@types: + {} +/home/src/workspaces/project/packages/shared: + {} + {} +/home/src/workspaces/project/packages/shared/node_modules: *new* + {} +/home/src/workspaces/project/packages/shared/node_modules/@types: *new* + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/packages/client/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/packages/server/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/packages/shared/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + initialLoadPending: true + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/packages/server/tsconfig.json + /home/src/workspaces/project/packages/client/tsconfig.json + /home/src/workspaces/project/packages/shared/tsconfig.json *new* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/packages/server/tsconfig.json + /home/src/workspaces/project/packages/client/tsconfig.json + /home/src/workspaces/project/packages/shared/tsconfig.json *new* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /dev/null/inferredProject1* + /home/src/workspaces/project/packages/server/tsconfig.json + /home/src/workspaces/project/packages/client/tsconfig.json + /home/src/workspaces/project/packages/shared/tsconfig.json *new* +/home/src/workspaces/project/packages/client/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/workspaces/project/packages/client/tsconfig.json *default* +/home/src/workspaces/project/packages/server/index.js (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/workspaces/project/packages/server/tsconfig.json *default* +/home/src/workspaces/project/packages/server/router.js + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/packages/server/tsconfig.json +/home/src/workspaces/project/packages/shared/src/referenced.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 3 *changed* + /home/src/workspaces/project/packages/server/tsconfig.json + /home/src/workspaces/project/packages/client/tsconfig.json + /home/src/workspaces/project/packages/shared/tsconfig.json *default* *new* +/home/src/workspaces/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 4, + "type": "request", + "arguments": { + "file": "/home/src/workspaces/project/packages/shared/src/referenced.ts" + }, "command": "fileReferences" } Info seq [hh:mm:ss:mss] response: @@ -719,7 +981,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "fileReferences", - "request_seq": 3, + "request_seq": 4, "success": true, "body": { "refs": [ From 639210a1c08bdf09ace8d67237f0737eb30aed11 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 10 Sep 2024 15:51:00 -0700 Subject: [PATCH 09/10] getFileReferences request should work like find all references --- src/server/session.ts | 79 +- .../getFileReferences_deduplicate.js | 591 ++++++------- .../getFileReferences_server1.js | 1 + .../getFileReferences_server2.js | 781 +++++++----------- .../should-get-file-references.js | 1 + ...ould-skip-lineText-from-file-references.js | 1 + .../server/getFileReferences_deduplicate.ts | 9 +- .../server/getFileReferences_server2.ts | 2 - 8 files changed, 655 insertions(+), 810 deletions(-) diff --git a/src/server/session.ts b/src/server/session.ts index 9794a76e05fb4..2ba7ebf6a847b 100644 --- a/src/server/session.ts +++ b/src/server/session.ts @@ -525,7 +525,8 @@ function getRenameLocationsWorker( projects, defaultProject, initialLocation, - /*isForRename*/ true, + getDefinitionLocation(defaultProject, initialLocation, /*isForRename*/ true), + mapDefinitionInProject, (project, position) => project.getLanguageService().findRenameLocations(position.fileName, position.pos, findInStrings, findInComments, preferences), (renameLocation, cb) => cb(documentSpanLocation(renameLocation)), ); @@ -570,7 +571,8 @@ function getReferencesWorker( projects, defaultProject, initialLocation, - /*isForRename*/ false, + getDefinitionLocation(defaultProject, initialLocation, /*isForRename*/ false), + mapDefinitionInProject, (project, position) => { logger.info(`Finding references to ${position.fileName} position ${position.pos} in project ${project.getProjectName()}`); return project.getLanguageService().findReferences(position.fileName, position.pos); @@ -710,9 +712,15 @@ function getPerProjectReferences( projects: Projects, defaultProject: Project, initialLocation: DocumentPosition, - isForRename: boolean, + defaultDefinition: DocumentPosition | undefined, + mapDefinitionInProject: ( + definition: DocumentPosition, + project: Project, + getGeneratedDefinition: () => DocumentPosition | undefined, + getSourceDefinition: () => DocumentPosition | undefined, + ) => DocumentPosition | undefined, getResultsForPosition: (project: Project, location: DocumentPosition) => readonly TResult[] | undefined, - forPositionInResult: (result: TResult, cb: (location: DocumentPosition) => void) => void, + forPositionInResult?: (result: TResult, cb: (location: DocumentPosition) => void) => void, ): readonly TResult[] | Map { // If `getResultsForPosition` returns results for a project, they go in here const resultsMap = new Map(); @@ -734,8 +742,6 @@ function getPerProjectReferences( const projectService = defaultProject.projectService; const cancellationToken = defaultProject.getCancellationToken(); - const defaultDefinition = getDefinitionLocation(defaultProject, initialLocation, isForRename); - // Don't call these unless !!defaultDefinition const getGeneratedDefinition = memoize(() => defaultProject.isSourceOfProjectReferenceRedirect(defaultDefinition!.fileName) ? @@ -801,7 +807,7 @@ function getPerProjectReferences( function searchPosition(project: Project, location: DocumentPosition): readonly TResult[] | undefined { const projectResults = getResultsForPosition(project, location); - if (!projectResults) return undefined; + if (!projectResults || !forPositionInResult) return projectResults; for (const result of projectResults) { forPositionInResult(result, position => { @@ -834,12 +840,10 @@ function getPerProjectReferences( } } -function mapDefinitionInProject( +function mapDefinitionInProjectIfFileInProject( definition: DocumentPosition, project: Project, - getGeneratedDefinition: () => DocumentPosition | undefined, - getSourceDefinition: () => DocumentPosition | undefined, -): DocumentPosition | undefined { +) { // If the definition is actually from the project, definition is correct as is if ( project.containsFile(toNormalizedPath(definition.fileName)) && @@ -847,13 +851,24 @@ function mapDefinitionInProject( ) { return definition; } +} + +function mapDefinitionInProject( + definition: DocumentPosition, + project: Project, + getGeneratedDefinition: () => DocumentPosition | undefined, + getSourceDefinition: () => DocumentPosition | undefined, +): DocumentPosition | undefined { + // If the definition is actually from the project, definition is correct as is + const result = mapDefinitionInProjectIfFileInProject(definition, project); + if (result) return result; const generatedDefinition = getGeneratedDefinition(); if (generatedDefinition && project.containsFile(toNormalizedPath(generatedDefinition.fileName))) return generatedDefinition; const sourceDefinition = getSourceDefinition(); return sourceDefinition && project.containsFile(toNormalizedPath(sourceDefinition.fileName)) ? sourceDefinition : undefined; } -function isLocationProjectReferenceRedirect(project: Project, location: DocumentPosition | undefined) { +function isLocationProjectReferenceRedirect(project: Project, location: Pick | undefined) { if (!location) return false; const program = project.getLanguageService().getProgram(); if (!program) return false; @@ -2231,28 +2246,38 @@ export class Session implements EventSender { private getFileReferences(args: protocol.FileRequestArgs, simplifiedResult: boolean): protocol.FileReferencesResponseBody | readonly ReferenceEntry[] { const projects = this.getProjects(args); - const fileName = args.file; - const preferences = this.getPreferences(toNormalizedPath(fileName)); - - const references: ReferenceEntry[] = []; - const seen = createDocumentSpanSet(this.host.useCaseSensitiveFileNames); - - // TODO:: sheetal: Are we suppose to do like find All references loading more projects: - // Eg test getFileReferences_deduplicate.ts and getFileReferences_server2.ts checks for file references from two projects - // but we dont open those projects by default any more for opening tsconfig.json file - forEachProjectInProjects(projects, /*path*/ undefined, project => { - if (project.getCancellationToken().isCancellationRequested()) return; + const fileName = toNormalizedPath(args.file); + const preferences = this.getPreferences(fileName); + const initialLocation: DocumentPosition = { fileName, pos: 0 }; + const perProjectResults = getPerProjectReferences( + projects, + this.getDefaultProject(args), + initialLocation, + initialLocation, + mapDefinitionInProjectIfFileInProject, + project => { + this.logger.info(`Finding references to file ${fileName} in project ${project.getProjectName()}`); + return project.getLanguageService().getFileReferences(fileName); + }, + ); - const projectOutputs = project.getLanguageService().getFileReferences(fileName); - if (projectOutputs) { + // No re-mapping or isDefinition updatses are required if there's exactly one project + let references: ReferenceEntry[]; + if (isArray(perProjectResults)) { + references = perProjectResults as ReferenceEntry[]; + } + else { + references = []; + const seen = createDocumentSpanSet(this.host.useCaseSensitiveFileNames); + perProjectResults.forEach(projectOutputs => { for (const referenceEntry of projectOutputs) { if (!seen.has(referenceEntry)) { references.push(referenceEntry); seen.add(referenceEntry); } } - } - }); + }); + } if (!simplifiedResult) return references; const refs = references.map(entry => referenceEntryToReferencesResponseItem(this.projectService, entry, preferences)); diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js index b3ea014063cff..14ab51d0e2e21 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js @@ -18,13 +18,16 @@ export * from "./util"; import "./util"; //// [/home/src/workspaces/project/tsconfig.build.json] -{ "compilerOptions": { "rootDir": "src", "outDir": "dist/build", "composite": true }, "files": ["index.ts"] } +{ "compilerOptions": { "rootDir": "src", "outDir": "dist/build", "composite": true }, "files": ["index.ts"], "references": [{ "path": "tsconfig.utils.json" }] } //// [/home/src/workspaces/project/tsconfig.json] { "files": [], "references": [{ "path": "tsconfig.build.json" }, { "path": "tsconfig.test.json" }] } //// [/home/src/workspaces/project/tsconfig.test.json] -{ "compilerOptions": { "rootDir": "src", "outDir": "dist/test", "composite": true }, "files": ["test.ts", "index.ts"] } +{ "compilerOptions": { "rootDir": "src", "outDir": "dist/test", "composite": true }, "files": ["test.ts", "index.ts"], "references": [{ "path": "tsconfig.utils.json" }] } + +//// [/home/src/workspaces/project/tsconfig.utils.json] +{ "compilerOptions": { "rootDir": "src", "outDir": "dist/utils", "composite": true }, "files": ["util.ts"] } //// [/home/src/workspaces/project/util.ts] export {} @@ -67,7 +70,13 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.build.jso "outDir": "/home/src/workspaces/project/dist/build", "composite": true, "configFilePath": "/home/src/workspaces/project/tsconfig.build.json" - } + }, + "projectReferences": [ + { + "path": "/home/src/workspaces/project/tsconfig.utils.json", + "originalPath": "tsconfig.utils.json" + } + ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.build.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.test.json : { @@ -80,9 +89,27 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.test.json "outDir": "/home/src/workspaces/project/dist/test", "composite": true, "configFilePath": "/home/src/workspaces/project/tsconfig.test.json" - } + }, + "projectReferences": [ + { + "path": "/home/src/workspaces/project/tsconfig.utils.json", + "originalPath": "tsconfig.utils.json" + } + ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.test.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.utils.json : { + "rootNames": [ + "/home/src/workspaces/project/util.ts" + ], + "options": { + "rootDir": "/home/src/workspaces/project/src", + "outDir": "/home/src/workspaces/project/dist/utils", + "composite": true, + "configFilePath": "/home/src/workspaces/project/tsconfig.utils.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.utils.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -155,6 +182,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.test.json: *new* {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.utils.json: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* @@ -201,40 +230,38 @@ Info seq [hh:mm:ss:mss] request: "seq": 1, "type": "request", "arguments": { - "file": "/home/src/workspaces/project/index.ts" + "file": "/home/src/workspaces/project/util.ts" }, "command": "open" } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.build.json, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/util.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.utils.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingStart", "body": { - "projectName": "/home/src/workspaces/project/tsconfig.build.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/index.ts to open" + "projectName": "/home/src/workspaces/project/tsconfig.utils.json", + "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/util.ts to open" } } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.build.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/util.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.build.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.build.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.utils.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.utils.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.utils.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.utils.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.utils.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.utils.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.utils.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.utils.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.utils.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.utils.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.utils.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/util.ts Text-1 "export {}" - /home/src/workspaces/project/index.ts SVC-1-0 "export * from \"./util\";" + /home/src/workspaces/project/util.ts SVC-1-0 "export {}" ../../tslibs/TS/Lib/lib.d.ts @@ -244,8 +271,6 @@ Info seq [hh:mm:ss:mss] Files (5) ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' util.ts - Imported via "./util" from file 'index.ts' - index.ts Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -255,7 +280,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "projectLoadingFinish", "body": { - "projectName": "/home/src/workspaces/project/tsconfig.build.json" + "projectName": "/home/src/workspaces/project/tsconfig.utils.json" } } Info seq [hh:mm:ss:mss] event: @@ -264,11 +289,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/index.ts", - "configFile": "/home/src/workspaces/project/tsconfig.build.json", + "triggerFile": "/home/src/workspaces/project/util.ts", + "configFile": "/home/src/workspaces/project/tsconfig.utils.json", "diagnostics": [ { - "text": "File '/home/src/workspaces/project/index.ts' is not under 'rootDir' '/home/src/workspaces/project/src'. 'rootDir' is expected to contain all source files.\n The file is in the program because:\n Part of 'files' list in tsconfig.json", + "text": "File '/home/src/workspaces/project/util.ts' is not under 'rootDir' '/home/src/workspaces/project/src'. 'rootDir' is expected to contain all source files.\n The file is in the program because:\n Part of 'files' list in tsconfig.json", "code": 6059, "category": "error", "relatedInformation": [ @@ -280,9 +305,9 @@ Info seq [hh:mm:ss:mss] event: }, "end": { "line": 1, - "offset": 107 + "offset": 106 }, - "file": "/home/src/workspaces/project/tsconfig.build.json" + "file": "/home/src/workspaces/project/tsconfig.utils.json" }, "message": "File is matched by 'files' list specified here.", "category": "message", @@ -297,8 +322,8 @@ Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (C Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.build.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.utils.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) @@ -308,8 +333,8 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/index.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.build.json +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/util.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.utils.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -337,8 +362,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.test.json: {"pollingInterval":2000} -/home/src/workspaces/project/util.ts: *new* - {"pollingInterval":500} +/home/src/workspaces/project/tsconfig.utils.json: + {"pollingInterval":2000} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: @@ -359,56 +384,179 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/workspaces/project/tsconfig.build.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 0 dirty: true initialLoadPending: true noOpenRef: false *changed* +/home/src/workspaces/project/tsconfig.utils.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/tsconfig.build.json *new* + /home/src/workspaces/project/tsconfig.utils.json *new* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/tsconfig.build.json *new* + /home/src/workspaces/project/tsconfig.utils.json *new* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/tsconfig.build.json *new* -/home/src/workspaces/project/index.ts (Open) *new* - version: SVC-1-0 - containingProjects: 1 - /home/src/workspaces/project/tsconfig.build.json *default* + /home/src/workspaces/project/tsconfig.utils.json *new* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/workspaces/project/util.ts *new* - version: Text-1 +/home/src/workspaces/project/util.ts (Open) *new* + version: SVC-1-0 containingProjects: 1 - /home/src/workspaces/project/tsconfig.build.json + /home/src/workspaces/project/tsconfig.utils.json *default* Info seq [hh:mm:ss:mss] request: { "seq": 2, "type": "request", "arguments": { - "file": "/home/src/workspaces/project/test.ts" + "file": "/home/src/workspaces/project/util.ts" }, - "command": "open" + "command": "fileReferences" + } +Info seq [hh:mm:ss:mss] Finding references to file /home/src/workspaces/project/util.ts in project /home/src/workspaces/project/tsconfig.utils.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/workspaces/project/tsconfig.json", + "configFile": "/home/src/workspaces/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.build.json, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.build.json", + "reason": "Creating project referenced by : /home/src/workspaces/project/tsconfig.json as it references project /home/src/workspaces/project/tsconfig.utils.json" + } + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.build.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.build.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.build.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.build.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /home/src/workspaces/project/util.ts SVC-1-0 "export {}" + /home/src/workspaces/project/index.ts Text-1 "export * from \"./util\";" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + util.ts + Imported via "./util" from file 'index.ts' + index.ts + 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": "/home/src/workspaces/project/tsconfig.build.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/workspaces/project/tsconfig.build.json", + "configFile": "/home/src/workspaces/project/tsconfig.build.json", + "diagnostics": [ + { + "text": "File '/home/src/workspaces/project/index.ts' is not under 'rootDir' '/home/src/workspaces/project/src'. 'rootDir' is expected to contain all source files.\n The file is in the program because:\n Part of 'files' list in tsconfig.json", + "code": 6059, + "category": "error", + "relatedInformation": [ + { + "span": { + "start": { + "line": 1, + "offset": 97 + }, + "end": { + "line": 1, + "offset": 107 + }, + "file": "/home/src/workspaces/project/tsconfig.build.json" + }, + "message": "File is matched by 'files' list specified here.", + "category": "message", + "code": 1410 + } + ] + } + ] + } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/test.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.test.json, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] event: { @@ -417,9 +565,10 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/home/src/workspaces/project/tsconfig.test.json", - "reason": "Creating project referenced in solution /home/src/workspaces/project/tsconfig.json to find possible configured project for /home/src/workspaces/project/test.ts to open" + "reason": "Creating project referenced by : /home/src/workspaces/project/tsconfig.json as it references project /home/src/workspaces/project/tsconfig.utils.json" } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/test.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.test.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.test.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.test.json WatchType: Failed Lookup Locations @@ -435,9 +584,9 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/util.ts Text-1 "export {}" - /home/src/workspaces/project/test.ts SVC-1-0 "import \"./util\";" - /home/src/workspaces/project/index.ts SVC-1-0 "export * from \"./util\";" + /home/src/workspaces/project/util.ts SVC-1-0 "export {}" + /home/src/workspaces/project/test.ts Text-1 "import \"./util\";" + /home/src/workspaces/project/index.ts Text-1 "export * from \"./util\";" ../../tslibs/TS/Lib/lib.d.ts @@ -470,7 +619,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/test.ts", + "triggerFile": "/home/src/workspaces/project/tsconfig.test.json", "configFile": "/home/src/workspaces/project/tsconfig.test.json", "diagnostics": [ { @@ -522,38 +671,64 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/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] Project '/home/src/workspaces/project/tsconfig.build.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.test.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -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: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/index.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.build.json,/home/src/workspaces/project/tsconfig.test.json -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/test.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.test.json +Info seq [hh:mm:ss:mss] Finding references to file /home/src/workspaces/project/util.ts in project /home/src/workspaces/project/tsconfig.build.json +Info seq [hh:mm:ss:mss] Finding references to file /home/src/workspaces/project/util.ts in project /home/src/workspaces/project/tsconfig.test.json Info seq [hh:mm:ss:mss] response: { "seq": 0, "type": "response", - "command": "open", + "command": "fileReferences", "request_seq": 2, "success": true, "performanceData": { "updateGraphDurationMs": * + }, + "body": { + "refs": [ + { + "file": "/home/src/workspaces/project/index.ts", + "start": { + "line": 1, + "offset": 16 + }, + "end": { + "line": 1, + "offset": 22 + }, + "contextStart": { + "line": 1, + "offset": 1 + }, + "contextEnd": { + "line": 1, + "offset": 24 + }, + "lineText": "export * from \"./util\";", + "isWriteAccess": false + }, + { + "file": "/home/src/workspaces/project/test.ts", + "start": { + "line": 1, + "offset": 9 + }, + "end": { + "line": 1, + "offset": 15 + }, + "contextStart": { + "line": 1, + "offset": 1 + }, + "contextEnd": { + "line": 1, + "offset": 17 + }, + "lineText": "import \"./util\";", + "isWriteAccess": false + } + ], + "symbolName": "\"/home/src/workspaces/project/util.ts\"" } } After Request @@ -564,276 +739,104 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: {"pollingInterval":500} +/home/src/workspaces/project/index.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} +/home/src/workspaces/project/test.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/tsconfig.build.json: {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.test.json: {"pollingInterval":2000} -/home/src/workspaces/project/util.ts: - {"pollingInterval":500} +/home/src/workspaces/project/tsconfig.utils.json: + {"pollingInterval":2000} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} {} {} *new* + {} *new* /home/src/workspaces/node_modules/@types: {} {} {} *new* + {} *new* + {} *new* /home/src/workspaces/project/node_modules: {} {} {} *new* + {} *new* /home/src/workspaces/project/node_modules/@types: {} {} {} *new* + {} *new* + {} *new* Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/workspaces/project/tsconfig.build.json (Configured) +/home/src/workspaces/project/tsconfig.build.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/workspaces/project/tsconfig.json (Configured) +/home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true + projectProgramVersion: 1 *changed* + dirty: false *changed* + initialLoadPending: false *changed* /home/src/workspaces/project/tsconfig.test.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 +/home/src/workspaces/project/tsconfig.utils.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 autoImportProviderHost: false ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 4 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/tsconfig.build.json + /home/src/workspaces/project/tsconfig.utils.json + /home/src/workspaces/project/tsconfig.build.json *new* /home/src/workspaces/project/tsconfig.test.json *new* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 4 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/tsconfig.build.json + /home/src/workspaces/project/tsconfig.utils.json + /home/src/workspaces/project/tsconfig.build.json *new* /home/src/workspaces/project/tsconfig.test.json *new* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 4 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/tsconfig.build.json - /home/src/workspaces/project/tsconfig.test.json *new* -/home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-0 - containingProjects: 2 *changed* - /home/src/workspaces/project/tsconfig.build.json *default* - /home/src/workspaces/project/tsconfig.test.json *new* -/home/src/workspaces/project/test.ts (Open) *new* - version: SVC-1-0 - containingProjects: 1 - /home/src/workspaces/project/tsconfig.test.json *default* -/home/src/workspaces/project/tsconfig.json (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/home/src/workspaces/project/util.ts *changed* - version: Text-1 - containingProjects: 2 *changed* - /home/src/workspaces/project/tsconfig.build.json + /home/src/workspaces/project/tsconfig.utils.json + /home/src/workspaces/project/tsconfig.build.json *new* /home/src/workspaces/project/tsconfig.test.json *new* - -Info seq [hh:mm:ss:mss] request: - { - "seq": 3, - "type": "request", - "arguments": { - "file": "/home/src/workspaces/project/util.ts" - }, - "command": "open" - } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/util.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/util.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/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] Project '/home/src/workspaces/project/tsconfig.build.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.test.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -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: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/index.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.build.json,/home/src/workspaces/project/tsconfig.test.json -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/test.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.test.json -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/util.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.build.json,/home/src/workspaces/project/tsconfig.test.json -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 3, - "success": true - } -After Request -watchedFiles:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.d.ts: - {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: - {"pollingInterval":500} -/home/src/workspaces/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/tsconfig.build.json: - {"pollingInterval":2000} -/home/src/workspaces/project/tsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/tsconfig.test.json: - {"pollingInterval":2000} - -watchedFiles *deleted*:: -/home/src/workspaces/project/util.ts: - {"pollingInterval":500} - -watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: - {} - {} - {} -/home/src/workspaces/node_modules/@types: - {} - {} - {} -/home/src/workspaces/project/node_modules: - {} - {} - {} -/home/src/workspaces/project/node_modules/@types: - {} - {} - {} - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/workspaces/project/index.ts *new* version: Text-1 - containingProjects: 3 - /dev/null/inferredProject1* - /home/src/workspaces/project/tsconfig.build.json - /home/src/workspaces/project/tsconfig.test.json -/home/src/tslibs/TS/Lib/lib.decorators.d.ts - version: Text-1 - containingProjects: 3 - /dev/null/inferredProject1* + containingProjects: 2 /home/src/workspaces/project/tsconfig.build.json /home/src/workspaces/project/tsconfig.test.json -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts +/home/src/workspaces/project/test.ts *new* version: Text-1 - containingProjects: 3 - /dev/null/inferredProject1* - /home/src/workspaces/project/tsconfig.build.json - /home/src/workspaces/project/tsconfig.test.json -/home/src/workspaces/project/index.ts (Open) - version: SVC-1-0 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.build.json *default* - /home/src/workspaces/project/tsconfig.test.json -/home/src/workspaces/project/test.ts (Open) - version: SVC-1-0 containingProjects: 1 - /home/src/workspaces/project/tsconfig.test.json *default* + /home/src/workspaces/project/tsconfig.test.json /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* /home/src/workspaces/project/util.ts (Open) *changed* - open: true *changed* - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.build.json *default* - /home/src/workspaces/project/tsconfig.test.json - -Info seq [hh:mm:ss:mss] request: - { - "seq": 4, - "type": "request", - "arguments": { - "file": "/home/src/workspaces/project/util.ts" - }, - "command": "fileReferences" - } -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "fileReferences", - "request_seq": 4, - "success": true, - "body": { - "refs": [ - { - "file": "/home/src/workspaces/project/index.ts", - "start": { - "line": 1, - "offset": 16 - }, - "end": { - "line": 1, - "offset": 22 - }, - "contextStart": { - "line": 1, - "offset": 1 - }, - "contextEnd": { - "line": 1, - "offset": 24 - }, - "lineText": "export * from \"./util\";", - "isWriteAccess": false - }, - { - "file": "/home/src/workspaces/project/test.ts", - "start": { - "line": 1, - "offset": 9 - }, - "end": { - "line": 1, - "offset": 15 - }, - "contextStart": { - "line": 1, - "offset": 1 - }, - "contextEnd": { - "line": 1, - "offset": 17 - }, - "lineText": "import \"./util\";", - "isWriteAccess": false - } - ], - "symbolName": "\"/home/src/workspaces/project/util.ts\"" - } - } \ No newline at end of file + version: SVC-1-0 + containingProjects: 3 *changed* + /home/src/workspaces/project/tsconfig.utils.json *default* + /home/src/workspaces/project/tsconfig.build.json *new* + /home/src/workspaces/project/tsconfig.test.json *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js index dcab9249743aa..8ce492fc06052 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js @@ -395,6 +395,7 @@ Info seq [hh:mm:ss:mss] request: }, "command": "fileReferences" } +Info seq [hh:mm:ss:mss] Finding references to file /home/src/workspaces/project/a.ts in project /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index bc34e775e80df..371f3ff8d4667 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -246,52 +246,46 @@ Info seq [hh:mm:ss:mss] request: "seq": 1, "type": "request", "arguments": { - "file": "/home/src/workspaces/project/packages/server/index.js" + "file": "/home/src/workspaces/project/packages/shared/src/referenced.ts" }, "command": "open" } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/server/index.js ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/server/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/server/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/server +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/shared/src/referenced.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/shared/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/shared/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/shared Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingStart", "body": { - "projectName": "/home/src/workspaces/project/packages/server/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/server/index.js to open" + "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/packages/shared/src/referenced.ts to open" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/router.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/server/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/src/referenced.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/server/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/packages/shared/src/referenced.ts Text-1 "export {};" - /home/src/workspaces/project/packages/server/index.js SVC-1-0 "const mod = require(\"../shared/src/referenced\");" - /home/src/workspaces/project/packages/server/router.js Text-1 "const blah = require(\"../shared/dist/referenced\");" + /home/src/workspaces/project/packages/shared/src/referenced.ts SVC-1-0 "export {};" ../../../../tslibs/TS/Lib/lib.d.ts @@ -300,12 +294,7 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - ../shared/src/referenced.ts - Imported via "../shared/src/referenced" from file 'index.js' - Imported via "../shared/dist/referenced" from file 'router.js' - index.js - Matched by default include pattern '**/*' - router.js + src/referenced.ts Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -315,7 +304,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "projectLoadingFinish", "body": { - "projectName": "/home/src/workspaces/project/packages/server/tsconfig.json" + "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json" } } Info seq [hh:mm:ss:mss] event: @@ -324,28 +313,18 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/packages/server/index.js", - "configFile": "/home/src/workspaces/project/packages/server/tsconfig.json", - "diagnostics": [ - { - "text": "Cannot write file '/home/src/workspaces/project/packages/server/index.js' because it would overwrite input file.", - "code": 5055, - "category": "error" - }, - { - "text": "Cannot write file '/home/src/workspaces/project/packages/server/router.js' because it would overwrite input file.", - "code": 5055, - "category": "error" - } - ] + "triggerFile": "/home/src/workspaces/project/packages/shared/src/referenced.ts", + "configFile": "/home/src/workspaces/project/packages/shared/tsconfig.json", + "diagnostics": [] } } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/shared/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/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] Project '/home/src/workspaces/project/packages/server/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/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) @@ -355,8 +334,8 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/server/index.js ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/server/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/shared/src/referenced.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/shared/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -380,12 +359,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/packages/client/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/server/router.js: *new* - {"pollingInterval":500} /home/src/workspaces/project/packages/server/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/shared/src/referenced.ts: *new* - {"pollingInterval":500} /home/src/workspaces/project/packages/shared/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: @@ -412,20 +387,19 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/packages/server: {} -/home/src/workspaces/project/packages/server/node_modules: *new* +/home/src/workspaces/project/packages/shared: {} -/home/src/workspaces/project/packages/server/node_modules/@types: *new* +/home/src/workspaces/project/packages/shared/node_modules: *new* {} -/home/src/workspaces/project/packages/shared: +/home/src/workspaces/project/packages/shared/node_modules/@types: *new* {} - {} *new* Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/workspaces/project/packages/server/tsconfig.json (Configured) *new* +/home/src/workspaces/project/packages/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false @@ -441,29 +415,21 @@ ScriptInfos:: version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/packages/server/tsconfig.json *new* + /home/src/workspaces/project/packages/shared/tsconfig.json *new* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/packages/server/tsconfig.json *new* + /home/src/workspaces/project/packages/shared/tsconfig.json *new* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/packages/server/tsconfig.json *new* -/home/src/workspaces/project/packages/server/index.js (Open) *new* + /home/src/workspaces/project/packages/shared/tsconfig.json *new* +/home/src/workspaces/project/packages/shared/src/referenced.ts (Open) *new* version: SVC-1-0 containingProjects: 1 - /home/src/workspaces/project/packages/server/tsconfig.json *default* -/home/src/workspaces/project/packages/server/router.js *new* - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/server/tsconfig.json -/home/src/workspaces/project/packages/shared/src/referenced.ts *new* - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/server/tsconfig.json + /home/src/workspaces/project/packages/shared/tsconfig.json *default* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -474,11 +440,140 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request", "arguments": { - "file": "/home/src/workspaces/project/packages/client/index.ts" + "file": "/home/src/workspaces/project/packages/shared/src/referenced.ts" }, - "command": "open" + "command": "fileReferences" + } +Info seq [hh:mm:ss:mss] Finding references to file /home/src/workspaces/project/packages/shared/src/referenced.ts in project /home/src/workspaces/project/packages/shared/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/workspaces/project/tsconfig.json", + "configFile": "/home/src/workspaces/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/server/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/server +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/packages/server/tsconfig.json", + "reason": "Creating project referenced by : /home/src/workspaces/project/tsconfig.json as it references project /home/src/workspaces/project/packages/shared/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/index.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/router.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/server/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/server/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/server/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/server/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (6) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /home/src/workspaces/project/packages/shared/src/referenced.ts SVC-1-0 "export {};" + /home/src/workspaces/project/packages/server/index.js Text-1 "const mod = require(\"../shared/src/referenced\");" + /home/src/workspaces/project/packages/server/router.js Text-1 "const blah = require(\"../shared/dist/referenced\");" + + + ../../../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' + ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' + ../shared/src/referenced.ts + Imported via "../shared/src/referenced" from file 'index.js' + Imported via "../shared/dist/referenced" from file 'router.js' + index.js + Matched by default include pattern '**/*' + router.js + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/workspaces/project/packages/server/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/workspaces/project/packages/server/tsconfig.json", + "configFile": "/home/src/workspaces/project/packages/server/tsconfig.json", + "diagnostics": [ + { + "text": "Cannot write file '/home/src/workspaces/project/packages/server/index.js' because it would overwrite input file.", + "code": 5055, + "category": "error" + }, + { + "text": "Cannot write file '/home/src/workspaces/project/packages/server/router.js' because it would overwrite input file.", + "code": 5055, + "category": "error" + } + ] + } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/client/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/client/tsconfig.json Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/client/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/client Info seq [hh:mm:ss:mss] event: { @@ -487,9 +582,10 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/home/src/workspaces/project/packages/client/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/client/index.ts to open" + "reason": "Creating project referenced by : /home/src/workspaces/project/tsconfig.json as it references project /home/src/workspaces/project/packages/shared/tsconfig.json" } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/client/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/client/node_modules 1 undefined Project: /home/src/workspaces/project/packages/client/tsconfig.json WatchType: Failed Lookup Locations @@ -513,8 +609,8 @@ Info seq [hh:mm:ss:mss] Files (5) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/packages/shared/src/referenced.ts Text-1 "export {};" - /home/src/workspaces/project/packages/client/index.ts SVC-1-0 "import \"@shared/referenced\";" + /home/src/workspaces/project/packages/shared/src/referenced.ts SVC-1-0 "export {};" + /home/src/workspaces/project/packages/client/index.ts Text-1 "import \"@shared/referenced\";" ../../../../tslibs/TS/Lib/lib.d.ts @@ -544,284 +640,90 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/workspaces/project/packages/client/index.ts", + "triggerFile": "/home/src/workspaces/project/packages/client/tsconfig.json", "configFile": "/home/src/workspaces/project/packages/client/tsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/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] Project '/home/src/workspaces/project/packages/server/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/client/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -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: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/server/index.js ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/server/tsconfig.json -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/client/index.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/client/tsconfig.json +Info seq [hh:mm:ss:mss] Finding references to file /home/src/workspaces/project/packages/shared/src/referenced.ts in project /home/src/workspaces/project/packages/server/tsconfig.json +Info seq [hh:mm:ss:mss] Finding references to file /home/src/workspaces/project/packages/shared/src/referenced.ts in project /home/src/workspaces/project/packages/client/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, "type": "response", - "command": "open", + "command": "fileReferences", "request_seq": 2, "success": true, "performanceData": { "updateGraphDurationMs": * - } - } -After Request -watchedFiles:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.d.ts: - {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: - {"pollingInterval":500} -/home/src/workspaces/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/packages/client/tsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/packages/server/router.js: - {"pollingInterval":500} -/home/src/workspaces/project/packages/server/tsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/packages/shared/src/referenced.ts: - {"pollingInterval":500} -/home/src/workspaces/project/packages/shared/tsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/tsconfig.json: - {"pollingInterval":2000} - -watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: - {} - {} - {} *new* -/home/src/workspaces/node_modules/@types: - {} - {} - {} *new* -/home/src/workspaces/project/node_modules: - {} - {} - {} *new* -/home/src/workspaces/project/node_modules/@types: - {} - {} - {} *new* -/home/src/workspaces/project/packages/client: - {} -/home/src/workspaces/project/packages/client/node_modules: *new* - {} -/home/src/workspaces/project/packages/client/node_modules/@types: *new* - {} -/home/src/workspaces/project/packages/node_modules: - {} - {} *new* -/home/src/workspaces/project/packages/node_modules/@types: - {} - {} *new* -/home/src/workspaces/project/packages/server: - {} -/home/src/workspaces/project/packages/server/node_modules: - {} -/home/src/workspaces/project/packages/server/node_modules/@types: - {} -/home/src/workspaces/project/packages/shared: - {} - {} - -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/workspaces/project/packages/client/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/workspaces/project/packages/server/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/workspaces/project/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* - version: Text-1 - containingProjects: 3 *changed* - /dev/null/inferredProject1* - /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* - version: Text-1 - containingProjects: 3 *changed* - /dev/null/inferredProject1* - /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* - version: Text-1 - containingProjects: 3 *changed* - /dev/null/inferredProject1* - /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json *new* -/home/src/workspaces/project/packages/client/index.ts (Open) *new* - version: SVC-1-0 - containingProjects: 1 - /home/src/workspaces/project/packages/client/tsconfig.json *default* -/home/src/workspaces/project/packages/server/index.js (Open) - version: SVC-1-0 - containingProjects: 1 - /home/src/workspaces/project/packages/server/tsconfig.json *default* -/home/src/workspaces/project/packages/server/router.js - version: Text-1 - containingProjects: 1 - /home/src/workspaces/project/packages/server/tsconfig.json -/home/src/workspaces/project/packages/shared/src/referenced.ts *changed* - version: Text-1 - containingProjects: 2 *changed* - /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json *new* -/home/src/workspaces/project/tsconfig.json (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* - -Info seq [hh:mm:ss:mss] request: - { - "seq": 3, - "type": "request", - "arguments": { - "file": "/home/src/workspaces/project/packages/shared/src/referenced.ts" }, - "command": "open" - } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/packages/shared/src/referenced.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/shared/src/referenced.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/packages/shared/tsconfig.json -Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/packages/shared/tsconfig.json, currentDirectory: /home/src/workspaces/project/packages/shared -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json", - "reason": "Creating possible configured project for /home/src/workspaces/project/packages/shared/src/referenced.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/shared/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/packages/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/packages/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/packages/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/packages/shared/src/referenced.ts Text-1 "export {};" - - - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' - src/referenced.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", "body": { - "projectName": "/home/src/workspaces/project/packages/shared/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/workspaces/project/packages/shared/src/referenced.ts", - "configFile": "/home/src/workspaces/project/packages/shared/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/packages/shared/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/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] Project '/home/src/workspaces/project/packages/server/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/client/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/packages/shared/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 (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/server/index.js ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/server/tsconfig.json -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/client/index.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/client/tsconfig.json -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/packages/shared/src/referenced.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/packages/server/tsconfig.json,/home/src/workspaces/project/packages/client/tsconfig.json,/home/src/workspaces/project/packages/shared/tsconfig.json -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 3, - "success": true, - "performanceData": { - "updateGraphDurationMs": * + "refs": [ + { + "file": "/home/src/workspaces/project/packages/server/index.js", + "start": { + "line": 1, + "offset": 22 + }, + "end": { + "line": 1, + "offset": 46 + }, + "contextStart": { + "line": 1, + "offset": 1 + }, + "contextEnd": { + "line": 1, + "offset": 49 + }, + "lineText": "const mod = require(\"../shared/src/referenced\");", + "isWriteAccess": false + }, + { + "file": "/home/src/workspaces/project/packages/server/router.js", + "start": { + "line": 1, + "offset": 23 + }, + "end": { + "line": 1, + "offset": 48 + }, + "contextStart": { + "line": 1, + "offset": 1 + }, + "contextEnd": { + "line": 1, + "offset": 51 + }, + "lineText": "const blah = require(\"../shared/dist/referenced\");", + "isWriteAccess": false + }, + { + "file": "/home/src/workspaces/project/packages/client/index.ts", + "start": { + "line": 1, + "offset": 9 + }, + "end": { + "line": 1, + "offset": 27 + }, + "contextStart": { + "line": 1, + "offset": 1 + }, + "contextEnd": { + "line": 1, + "offset": 29 + }, + "lineText": "import \"@shared/referenced\";", + "isWriteAccess": false + } + ], + "symbolName": "\"/home/src/workspaces/project/packages/shared/src/referenced.ts\"" } } After Request @@ -834,9 +736,13 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} +/home/src/workspaces/project/packages/client/index.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/packages/client/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/packages/server/router.js: +/home/src/workspaces/project/packages/server/index.js: *new* + {"pollingInterval":500} +/home/src/workspaces/project/packages/server/router.js: *new* {"pollingInterval":500} /home/src/workspaces/project/packages/server/tsconfig.json: {"pollingInterval":2000} @@ -845,57 +751,55 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} -watchedFiles *deleted*:: -/home/src/workspaces/project/packages/shared/src/referenced.ts: - {"pollingInterval":500} - watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: - {} {} {} {} *new* + {} *new* /home/src/workspaces/node_modules/@types: - {} {} {} {} *new* + {} *new* + {} *new* /home/src/workspaces/project/node_modules: - {} {} {} {} *new* + {} *new* /home/src/workspaces/project/node_modules/@types: {} {} - {} + {} *new* + {} *new* {} *new* /home/src/workspaces/project/packages/client: {} -/home/src/workspaces/project/packages/client/node_modules: +/home/src/workspaces/project/packages/client/node_modules: *new* {} -/home/src/workspaces/project/packages/client/node_modules/@types: +/home/src/workspaces/project/packages/client/node_modules/@types: *new* {} /home/src/workspaces/project/packages/node_modules: {} - {} + {} *new* {} *new* /home/src/workspaces/project/packages/node_modules/@types: {} - {} + {} *new* {} *new* /home/src/workspaces/project/packages/server: {} -/home/src/workspaces/project/packages/server/node_modules: +/home/src/workspaces/project/packages/server/node_modules: *new* {} -/home/src/workspaces/project/packages/server/node_modules/@types: +/home/src/workspaces/project/packages/server/node_modules/@types: *new* {} /home/src/workspaces/project/packages/shared: {} + {} *new* +/home/src/workspaces/project/packages/shared/node_modules: {} -/home/src/workspaces/project/packages/shared/node_modules: *new* - {} -/home/src/workspaces/project/packages/shared/node_modules/@types: *new* +/home/src/workspaces/project/packages/shared/node_modules/@types: {} Projects:: @@ -903,152 +807,63 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/workspaces/project/packages/client/tsconfig.json (Configured) +/home/src/workspaces/project/packages/client/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/workspaces/project/packages/server/tsconfig.json (Configured) +/home/src/workspaces/project/packages/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false -/home/src/workspaces/project/packages/shared/tsconfig.json (Configured) *new* +/home/src/workspaces/project/packages/shared/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false -/home/src/workspaces/project/tsconfig.json (Configured) +/home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 0 - dirty: true - initialLoadPending: true + projectProgramVersion: 1 *changed* + dirty: false *changed* + initialLoadPending: false *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json *new* + /home/src/workspaces/project/packages/shared/tsconfig.json + /home/src/workspaces/project/packages/server/tsconfig.json *new* + /home/src/workspaces/project/packages/client/tsconfig.json *new* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json *new* + /home/src/workspaces/project/packages/shared/tsconfig.json + /home/src/workspaces/project/packages/server/tsconfig.json *new* + /home/src/workspaces/project/packages/client/tsconfig.json *new* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /dev/null/inferredProject1* - /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json *new* -/home/src/workspaces/project/packages/client/index.ts (Open) - version: SVC-1-0 + /home/src/workspaces/project/packages/shared/tsconfig.json + /home/src/workspaces/project/packages/server/tsconfig.json *new* + /home/src/workspaces/project/packages/client/tsconfig.json *new* +/home/src/workspaces/project/packages/client/index.ts *new* + version: Text-1 containingProjects: 1 - /home/src/workspaces/project/packages/client/tsconfig.json *default* -/home/src/workspaces/project/packages/server/index.js (Open) - version: SVC-1-0 + /home/src/workspaces/project/packages/client/tsconfig.json +/home/src/workspaces/project/packages/server/index.js *new* + version: Text-1 containingProjects: 1 - /home/src/workspaces/project/packages/server/tsconfig.json *default* -/home/src/workspaces/project/packages/server/router.js + /home/src/workspaces/project/packages/server/tsconfig.json +/home/src/workspaces/project/packages/server/router.js *new* version: Text-1 containingProjects: 1 /home/src/workspaces/project/packages/server/tsconfig.json /home/src/workspaces/project/packages/shared/src/referenced.ts (Open) *changed* - open: true *changed* - version: Text-1 + version: SVC-1-0 containingProjects: 3 *changed* - /home/src/workspaces/project/packages/server/tsconfig.json - /home/src/workspaces/project/packages/client/tsconfig.json - /home/src/workspaces/project/packages/shared/tsconfig.json *default* *new* + /home/src/workspaces/project/packages/shared/tsconfig.json *default* + /home/src/workspaces/project/packages/server/tsconfig.json *new* + /home/src/workspaces/project/packages/client/tsconfig.json *new* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* - -Info seq [hh:mm:ss:mss] request: - { - "seq": 4, - "type": "request", - "arguments": { - "file": "/home/src/workspaces/project/packages/shared/src/referenced.ts" - }, - "command": "fileReferences" - } -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "fileReferences", - "request_seq": 4, - "success": true, - "body": { - "refs": [ - { - "file": "/home/src/workspaces/project/packages/server/index.js", - "start": { - "line": 1, - "offset": 22 - }, - "end": { - "line": 1, - "offset": 46 - }, - "contextStart": { - "line": 1, - "offset": 1 - }, - "contextEnd": { - "line": 1, - "offset": 49 - }, - "lineText": "const mod = require(\"../shared/src/referenced\");", - "isWriteAccess": false - }, - { - "file": "/home/src/workspaces/project/packages/server/router.js", - "start": { - "line": 1, - "offset": 23 - }, - "end": { - "line": 1, - "offset": 48 - }, - "contextStart": { - "line": 1, - "offset": 1 - }, - "contextEnd": { - "line": 1, - "offset": 51 - }, - "lineText": "const blah = require(\"../shared/dist/referenced\");", - "isWriteAccess": false - }, - { - "file": "/home/src/workspaces/project/packages/client/index.ts", - "start": { - "line": 1, - "offset": 9 - }, - "end": { - "line": 1, - "offset": 27 - }, - "contextStart": { - "line": 1, - "offset": 1 - }, - "contextEnd": { - "line": 1, - "offset": 29 - }, - "lineText": "import \"@shared/referenced\";", - "isWriteAccess": false - } - ], - "symbolName": "\"/home/src/workspaces/project/packages/shared/src/referenced.ts\"" - } - } \ No newline at end of file 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 9f70484cbc495..6057bcbd24620 100644 --- a/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js +++ b/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js @@ -484,6 +484,7 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } +Info seq [hh:mm:ss:mss] Finding references to file /home/src/projects/project/a.ts in project /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { 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 700ab243a3200..7c59bc7e7008d 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 @@ -507,6 +507,7 @@ Info seq [hh:mm:ss:mss] request: "seq": 6, "type": "request" } +Info seq [hh:mm:ss:mss] Finding references to file /home/src/projects/project/a.ts in project /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/cases/fourslash/server/getFileReferences_deduplicate.ts b/tests/cases/fourslash/server/getFileReferences_deduplicate.ts index 9c542f9a88100..1e7aacbf25679 100644 --- a/tests/cases/fourslash/server/getFileReferences_deduplicate.ts +++ b/tests/cases/fourslash/server/getFileReferences_deduplicate.ts @@ -3,14 +3,17 @@ // @Filename: /home/src/workspaces/project/tsconfig.json //// { "files": [], "references": [{ "path": "tsconfig.build.json" }, { "path": "tsconfig.test.json" }] } +// @Filename: /home/src/workspaces/project/tsconfig.utils.json +//// { "compilerOptions": { "rootDir": "src", "outDir": "dist/utils", "composite": true }, "files": ["util.ts"] } + // @Filename: /home/src/workspaces/project/tsconfig.build.json -//// { "compilerOptions": { "rootDir": "src", "outDir": "dist/build", "composite": true }, "files": ["index.ts"] } +//// { "compilerOptions": { "rootDir": "src", "outDir": "dist/build", "composite": true }, "files": ["index.ts"], "references": [{ "path": "tsconfig.utils.json" }] } // @Filename: /home/src/workspaces/project/index.ts //// export * from "./util"; // @Filename: /home/src/workspaces/project/tsconfig.test.json -//// { "compilerOptions": { "rootDir": "src", "outDir": "dist/test", "composite": true }, "files": ["test.ts", "index.ts"] } +//// { "compilerOptions": { "rootDir": "src", "outDir": "dist/test", "composite": true }, "files": ["test.ts", "index.ts"], "references": [{ "path": "tsconfig.utils.json" }] } // @Filename: /home/src/workspaces/project/test.ts //// import "./util"; @@ -18,8 +21,6 @@ // @Filename: /home/src/workspaces/project/util.ts //// export {} -goTo.file("/home/src/workspaces/project/index.ts"); -goTo.file("/home/src/workspaces/project/test.ts"); // util.ts is referenced by index.ts, which is included in tsconfig.build.json and tsconfig.test.json. // That reference will be returned from both projects' language services. Test ensures it gets deduplicated. verify.baselineGetFileReferences("/home/src/workspaces/project/util.ts"); diff --git a/tests/cases/fourslash/server/getFileReferences_server2.ts b/tests/cases/fourslash/server/getFileReferences_server2.ts index 25acfa0e02336..784545f3018e9 100644 --- a/tests/cases/fourslash/server/getFileReferences_server2.ts +++ b/tests/cases/fourslash/server/getFileReferences_server2.ts @@ -24,6 +24,4 @@ // @Filename: /home/src/workspaces/project/packages/client/index.ts //// import "@shared/referenced"; -goTo.file("/home/src/workspaces/project/packages/server/index.js"); -goTo.file("/home/src/workspaces/project/packages/client/index.ts"); verify.baselineGetFileReferences("/home/src/workspaces/project/packages/shared/src/referenced.ts"); From 03e9ad4e1d258e6e1ced4d6ad73d5072ad8c4cb8 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 12 Sep 2024 15:42:00 -0700 Subject: [PATCH 10/10] Remove fixed todo and fix debug info --- src/server/editorServices.ts | 2 -- src/testRunner/unittests/tsserver/projectReferences.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index a85239515b5d4..378f4ceba7e10 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -4352,8 +4352,6 @@ export class ProjectService { // At this point if file is part of any any configured or external project, then it would be present in the containing projects // So if it still doesnt have any containing projects, it needs to be part of inferred project if (info.isOrphan()) { - // TODO:: sheetal: Do we instead send some kind of event to inform that the file didnt belong to any of the project - // and the reason - esp for projects that we skipped loading // Even though this info did not belong to any of the configured projects, send the config file diag for all non optimized loads retainProjects?.forEach((kind, project) => { if ( diff --git a/src/testRunner/unittests/tsserver/projectReferences.ts b/src/testRunner/unittests/tsserver/projectReferences.ts index 957e11171dc7c..65228e4f13d3c 100644 --- a/src/testRunner/unittests/tsserver/projectReferences.ts +++ b/src/testRunner/unittests/tsserver/projectReferences.ts @@ -1725,7 +1725,7 @@ const b: B = new B();`, /* eslint-enable local/argument-trivia */ }); - describe("when file is not part of first config tree found sheetal", () => { + describe("when file is not part of first config tree found", () => { it("finds default project", () => { const { session, appDemo, baseline, verifyProjectManagement } = setup(); verifyGetErrRequest({ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy